File tree Expand file tree Collapse file tree 4 files changed +15
-53
lines changed Expand file tree Collapse file tree 4 files changed +15
-53
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,13 @@ Bug Fixes
19
19
- Include port number if it is present in endpoint access URL. [#582]
20
20
21
21
22
+ Deprecations and Removals
23
+ -------------------------
24
+
25
+ - Removed usage of the astropy TestRunner, therefore the unadvertised
26
+ ``pyvo.test() `` functionality. [#606]
27
+
28
+
22
29
1.5.2 (2024-05-22)
23
30
==================
24
31
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