File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ def test_query_jpg_no_wcs(self):
83
83
assert isinstance (result , np .ndarray ) and result .shape [2 ] == 3
84
84
85
85
def test_bad_strech (self ):
86
- with pytest .raises (AstropyUserWarning , match = r"stretch: must either " ):
86
+ with pytest .raises (AttributeError , match = r"Unknown value azs for stretch parameter " ):
87
87
hips2fits .query_with_wcs (
88
88
hips = self .hips ,
89
89
wcs = self .w ,
Original file line number Diff line number Diff line change 5
5
"""
6
6
from astropy import config as _config
7
7
8
- from .core import SDSS , SDSSClass
9
-
10
8
11
9
class Conf (_config .ConfigNamespace ):
12
10
"""
@@ -27,4 +25,7 @@ class Conf(_config.ConfigNamespace):
27
25
conf = Conf ()
28
26
29
27
28
+ from .core import SDSS , SDSSClass
29
+
30
+
30
31
__all__ = ["SDSS" , "SDSSClass" , conf ]
You can’t perform that action at this time.
0 commit comments