summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--setup.cfg2
-rw-r--r--stwcs/tests/test_updatewcs.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/setup.cfg b/setup.cfg
index d8d65c1..8d7a78d 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -8,7 +8,7 @@ license = BSD
edit_on_github = False
github_project = spacetelescope/stwcs
-[pytest]
+[tool:pytest]
minversion = 2.2
norecursedirs = build docs/_build relic
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)