File tree Expand file tree Collapse file tree 4 files changed +11
-54
lines changed Expand file tree Collapse file tree 4 files changed +11
-54
lines changed Original file line number Diff line number Diff line change @@ -65,6 +65,9 @@ Deprecations and Removals
65
65
- Deprecating the use of "image" and "spectrum" in registry Servicetype
66
66
constraints [#449]
67
67
68
+ - Removed usage of the astropy TestRunner, therefore the unadvertised
69
+ ``pyvo.test() `` functionality. [#606]
70
+
68
71
69
72
1.5.3 (unreleased)
70
73
==================
Original file line number Diff line number Diff line change 5
5
6
6
import os
7
7
import tempfile
8
+ import numpy as np
9
+ from astropy .utils import minversion
8
10
9
11
try :
10
12
from pytest_astropy_header .display import PYTEST_HEADER_MODULES , TESTED_VERSIONS
38
40
iers_conf .auto_download = False
39
41
40
42
43
+ # Keep this until we require numpy to be >=2.0
44
+ if minversion (np , "2.0.0.dev0+git20230726" ):
45
+ np .set_printoptions (legacy = "1.25" )
46
+
47
+
41
48
def pytest_configure (config ):
42
49
"""Configure Pytest with Astropy.
43
50
Original file line number Diff line number Diff line change 1
1
# Licensed under a 3-clause BSD style license - see LICENSE.rst
2
- import os
3
2
4
- __all__ = ['__version__' , 'test' ]
3
+ __all__ = ['__version__' ]
5
4
6
5
try :
7
6
from .version import version as __version__
8
7
except ImportError :
9
8
__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__ ))
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments