summaryrefslogtreecommitdiff
path: root/stwcs/tests/test_updatewcs.py
diff options
context:
space:
mode:
Diffstat (limited to 'stwcs/tests/test_updatewcs.py')
-rw-r--r--stwcs/tests/test_updatewcs.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/stwcs/tests/test_updatewcs.py b/stwcs/tests/test_updatewcs.py
index 675e78f..218f4f2 100644
--- a/stwcs/tests/test_updatewcs.py
+++ b/stwcs/tests/test_updatewcs.py
@@ -325,6 +325,7 @@ def test_update_d2im_distortion():
newf = fits.open(newd2im, mode='update')
for ext in newf[1:]:
ext.data = ext.data * 100
+ newf.flush()
newf.close()
fits.setval(acs_file, keyword="D2IMFILE", value=newd2im)
updatewcs.updatewcs(acs_file)