summaryrefslogtreecommitdiff
path: root/stwcs/tests/test_altwcs.py
diff options
context:
space:
mode:
authorNadia Dencheva <nadia.astropy@gmail.com>2016-12-18 15:59:55 -0500
committerGitHub <noreply@github.com>2016-12-18 15:59:55 -0500
commitbec6e16c25ee829566955c4ff128a32e591b920e (patch)
tree60d597dfa81fb5dc8ae722f00531a2152894414e /stwcs/tests/test_altwcs.py
parentdc6eaa10f996af4173cebdd85f7a53d113272529 (diff)
parent0bd69fca03ec01f8b51bdf50531c19fcfeaa9be1 (diff)
downloadstwcs_hcf-bec6e16c25ee829566955c4ff128a32e591b920e.tar.gz
Merge pull request #22 from nden/improve-logic
Improve logic
Diffstat (limited to 'stwcs/tests/test_altwcs.py')
-rw-r--r--stwcs/tests/test_altwcs.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/stwcs/tests/test_altwcs.py b/stwcs/tests/test_altwcs.py
index d646106..fa7eb9b 100644
--- a/stwcs/tests/test_altwcs.py
+++ b/stwcs/tests/test_altwcs.py
@@ -117,7 +117,6 @@ class TestAltWCS(object):
def test_restore_wcs_from_to(self):
# test restore from ... to ...
- #altwcs.archiveWCS(self.acs_file, ext=[('SCI',1), ('SCI',2)], wcskey='T')
pyfits.setval(self.acs_file, ext=('SCI', 1), keyword='CRVAL1', value=1)
pyfits.setval(self.acs_file, ext=('SCI', 2), keyword='CRVAL1', value=1)
f = pyfits.open(self.acs_file, mode='update')
@@ -140,9 +139,7 @@ class TestAltWCS(object):
compare_wcs(w3, w1o, exclude_keywords=['ctype'])
def test_delete_wcs(self):
- #altwcs.archiveWCS(self.acs_file, ext=1, wcskey='Z')
altwcs.deleteWCS(self.acs_file, ext=1, wcskey='Z')
- #utils.assert_raises(KeyError, wcsutil.HSTWCS, self.acs_file, ext=1, wcskey='Z')
with pytest.raises(KeyError):
wcsutil.HSTWCS(self.acs_file, ext=1, wcskey='Z')