Commit ec096d06 authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

add support for fits: write test FITS file in setUp

parent cbcd1ef6
Pipeline #10809 failed with stage
in 0 seconds
......@@ -30,7 +30,7 @@ class TestFitsHeaderOps(unittest.TestCase):
fits.ImageHDU(data=np.random.randn(5, 5)),
]
)
hl.writeto(test_fits_file)
hl.writeto(test_fits_file, overwrite=True)
def test_fits_open(self):
hl = fits.open(test_fits_file)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment