Skip to content

Commit 4176a8c

Browse files
authored
Remove TestRunner (#145)
1 parent 64f33b7 commit 4176a8c

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

astrocut/_astropy_init.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,3 @@
1313
from .version import version as __version__
1414
except ImportError:
1515
__version__ = ''
16-
17-
18-
if not _ASTROPY_SETUP_: # noqa
19-
import os
20-
21-
# Create the test function for self test
22-
from astropy.tests.runner import TestRunner
23-
test = TestRunner.make_test_runner_in(os.path.dirname(__file__))
24-
test.__test__ = False
25-
__all__ += ['test']

astrocut/conftest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ def pytest_configure(config):
2121
# Customize the following lines to add/remove entries from the list of
2222
# packages for which version numbers are displayed when running the tests.
2323
PYTEST_HEADER_MODULES.pop('Pandas', None)
24-
PYTEST_HEADER_MODULES['scikit-image'] = 'skimage'
24+
PYTEST_HEADER_MODULES.pop('h5py', None)
25+
PYTEST_HEADER_MODULES.pop('Matplotlib', None)
2526

2627
from . import __version__
2728
packagename = os.path.basename(os.path.dirname(__file__))

0 commit comments

Comments
 (0)