-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed as not planned
Description
Description
Some test cases fed into test_noncelestial_scale in astropy.wcs.test_utils emit RuntimeWarning. Affected code:
astropy/astropy/wcs/tests/test_utils.py
Lines 564 to 570 in f7a98a0
| mywcs.wcs.cdelt = cdelt | |
| mywcs.wcs.ctype = ['RA---TAN', 'FREQ'] | |
| ps = non_celestial_pixel_scales(mywcs) | |
| assert_almost_equal(ps.to_value(u.deg), np.array([0.1, 0.2])) |
xref #9010 (review)
Expected behavior
Tests complete without RuntimeWarning.
Actual behavior
RuntimeWarning happens when you set pytest to show warnings.
Reactions are currently unavailable