Skip to content

Commit

Permalink
Merge pull request #1122 from astropy/astropy_test_runner
Browse files Browse the repository at this point in the history
Remove import of TestRunner from astropy.tests.runner
  • Loading branch information
aphearin authored Feb 18, 2025
2 parents cd81938 + 530f856 commit 5e680d6
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions halotools/_astropy_init.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
import os

__all__ = ["__version__", "test"]
__all__ = ["__version__"]

try:
from .version import version as __version__
except ImportError:
__version__ = ""

# Create the test function for self test
from astropy.tests.runner import TestRunner

test = TestRunner.make_test_runner_in(os.path.dirname(__file__))

0 comments on commit 5e680d6

Please sign in to comment.