1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
From: Ole Streicher <olebole@debian.org>
Date: Tue, 23 Apr 2024 12:24:46 +0200
Subject: Fix warning type in test_image_collection
Closes: #1066770
---
ccdproc/tests/test_image_collection.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ccdproc/tests/test_image_collection.py b/ccdproc/tests/test_image_collection.py
index f165dc9..c7ab0c8 100644
--- a/ccdproc/tests/test_image_collection.py
+++ b/ccdproc/tests/test_image_collection.py
@@ -1008,7 +1008,7 @@ class TestImageFileCollection:
TESTVERI= '2017/02/13-16:51:38 / Test VerifyWarning
"""
- with pytest.warns(VerifyWarning):
+ with pytest.warns(AstropyUserWarning):
testh = fits.Header.fromstring(bad_header)
testfits = fits.PrimaryHDU(data=np.ones((10, 10)), header=testh)
|