From c4ca4b31d032b0e1ccab795843c1d1933bcbb7e1 Mon Sep 17 00:00:00 2001 From: Nadia Dencheva Date: Thu, 15 Dec 2016 20:17:22 -0500 Subject: reference pytest correctly --- stwcs/tests/test_updatewcs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stwcs/tests/test_updatewcs.py') 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) -- cgit