We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2486495 commit 00a67f4Copy full SHA for 00a67f4
astroquery/hips2fits/tests/test_hips2fits_remote.py
@@ -4,6 +4,7 @@
4
import pytest
5
from astropy import wcs as astropy_wcs
6
from astropy.io import fits
7
+from astropy.utils.exceptions import AstropyUserWarning
8
import numpy as np
9
from matplotlib.colors import Colormap
10
@@ -82,7 +83,7 @@ def test_query_jpg_no_wcs(self):
82
83
assert isinstance(result, np.ndarray) and result.shape[2] == 3
84
85
def test_bad_strech(self):
- with pytest.raises(AttributeError):
86
+ with pytest.raises(AstropyUserWarning):
87
hips2fits.query_with_wcs(
88
hips=self.hips,
89
wcs=self.w,
0 commit comments