From e2bb41c0f8128e4f53755db40eae0e17dccb316f Mon Sep 17 00:00:00 2001 From: Jeremy Kubica <104161096+jeremykubica@users.noreply.github.com> Date: Mon, 16 Dec 2024 16:12:40 -0500 Subject: [PATCH 1/2] Remove print statement --- tests/test_results.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/test_results.py b/tests/test_results.py index 21a5babf..30ba6d44 100644 --- a/tests/test_results.py +++ b/tests/test_results.py @@ -278,7 +278,6 @@ def test_is_empty_value(self): self.assertFalse(np.any(nums_is_empty)) pairs_is_empty = table.is_empty_value("pairs") - print(pairs_is_empty) self.assertTrue(np.array_equal(pairs_is_empty, expected)) def test_filter_by_index(self): From dd909f100996eb1a4ffac4fe6ea554afa8dc2efc Mon Sep 17 00:00:00 2001 From: Jeremy Kubica <104161096+jeremykubica@users.noreply.github.com> Date: Tue, 17 Dec 2024 09:51:36 -0500 Subject: [PATCH 2/2] Remove verification errors for astropy 7.0 --- tests/test_imagecollection.py | 2 +- tests/test_standardizer.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_imagecollection.py b/tests/test_imagecollection.py index 1ecbbc63..e2cf2730 100644 --- a/tests/test_imagecollection.py +++ b/tests/test_imagecollection.py @@ -117,7 +117,7 @@ def test_write_read_reachable(self): tmpdir = tempfile.mkdtemp() for i, hdul in enumerate(hduls): fname = os.path.join(tmpdir, f"{i:0>3}.fits") - hdul.writeto(fname) + hdul.writeto(fname, output_verify="ignore") hdul.close() ic2 = ImageCollection.fromDir(tmpdir) diff --git a/tests/test_standardizer.py b/tests/test_standardizer.py index cfd0d9a6..13877092 100644 --- a/tests/test_standardizer.py +++ b/tests/test_standardizer.py @@ -129,7 +129,7 @@ def test_instantiation(self): # Test from path hdul = FitsFactory.mock_fits(spoof_data=True) tmpf = tempfile.NamedTemporaryFile(suffix=".fits", delete=False) - hdul.writeto(tmpf.file, overwrite=True) + hdul.writeto(tmpf.file, output_verify="ignore", overwrite=True) hdul.close() tmpf.close() @@ -176,7 +176,7 @@ def test_init_direct(self): # Test from path hdul = FitsFactory.mock_fits(spoof_data=True) fits_file = tempfile.NamedTemporaryFile(suffix=".fits", delete=False) - hdul.writeto(fits_file.file, overwrite=True) + hdul.writeto(fits_file.file, output_verify="ignore", overwrite=True) hdul.close() fits_file.close()