summaryrefslogtreecommitdiff
path: root/stwcs
diff options
context:
space:
mode:
authorNadia Dencheva <nadia.dencheva@gmail.com>2016-12-15 20:17:22 -0500
committerNadia Dencheva <nadia.dencheva@gmail.com>2016-12-15 20:17:22 -0500
commitc4ca4b31d032b0e1ccab795843c1d1933bcbb7e1 (patch)
tree6916437ccb358c79fe75f2562f1c8bcb2d34c1e9 /stwcs
parent75887a8631a01869636cc5111e925fed473beec8 (diff)
downloadstwcs_hcf-c4ca4b31d032b0e1ccab795843c1d1933bcbb7e1.tar.gz
reference pytest correctly
Diffstat (limited to 'stwcs')
-rw-r--r--stwcs/tests/test_updatewcs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/stwcs/tests/test_updatewcs.py b/stwcs/tests/test_updatewcs.py
index 4afd7cd..ca034fa 100644
--- a/stwcs/tests/test_updatewcs.py
+++ b/stwcs/tests/test_updatewcs.py
@@ -325,7 +325,7 @@ def test_update_d2im_distortion():
shutil.copyfile(d2imfile, newd2im)
newf = fits.open(newd2im, mode='update')
for ext in newf[1:]:
- ext.data *= 100
+ ext.data = ext.data * 100
newf.close()
fits.setval(acs_file, keyword="D2IMFILE", value=newd2im)
updatewcs.updatewcs(acs_file)