Skip to content

Commit 7f0aae4

Browse files
authored
MAINT: drop astropy TestRunner (deprecated) (#649)
* MAINT: drop astropy TestRunner (deprecated) * drop os import
1 parent b1d7685 commit 7f0aae4

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

skypy/_astropy_init.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
11
# Licensed under a 3-clause BSD style license - see LICENSE.rst
2-
import os
32

4-
__all__ = ['__version__', 'test']
3+
__all__ = ['__version__']
54

65
try:
76
from .version import version as __version__
87
except ImportError:
98
__version__ = ''
10-
11-
# Create the test function for self test
12-
from astropy.tests.runner import TestRunner
13-
test = TestRunner.make_test_runner_in(os.path.dirname(__file__))

0 commit comments

Comments
 (0)