You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the new pytest (and new Astropy), we seem to get an AstropyUserWarning instead of a VerifyWarning with invalid keywords on Debian:
____________ TestImageFileCollection.test_less_strict_verify_option ____________
self = <ccdproc.tests.test_image_collection.TestImageFileCollection object at 0x7f68946d58d0>
triage_setup = <ccdproc.tests.pytest_fixtures.triage_setup.<locals>.Result object at 0x7f689477b490>
def test_less_strict_verify_option(self, triage_setup):
# Tests for feature request
#
# https://github.com/astropy/ccdproc/issues/607
#
# which would allow reading of otherwise invalid FITS headers.
bad_header = """
NAXIS1 = 10 / length of data axis 1
NAXIS2 = 10 / length of data axis 2
TESTVERI= '2017/02/13-16:51:38 / Test VerifyWarning
"""
> with pytest.warns(VerifyWarning):
E astropy.utils.exceptions.AstropyUserWarning: The following header keyword is invalid or follows an unrecognized non-standard convention:
E 17/02/13-16:51:38 / Test VerifyWarning
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ccdproc/build/ccdproc/tests/test_image_collection.py:968: AstropyUserWarning
With the new pytest (and new Astropy), we seem to get an
AstropyUserWarning
instead of aVerifyWarning
with invalid keywords on Debian:This happens on both Python 3.11 and Python 3.12.
Full build log
The text was updated successfully, but these errors were encountered: