summaryrefslogtreecommitdiff
path: root/stsci/sphere/test/test.py
diff options
context:
space:
mode:
authormdroe <mdroe@stsci.edu>2014-06-04 16:10:55 -0400
committermdroe <mdroe@stsci.edu>2014-06-04 16:10:55 -0400
commit6068d3056d787384074a43ae8840163deeefd3f8 (patch)
tree1b76449716740843d2cb35ef67d7f97b34cf83cd /stsci/sphere/test/test.py
parent5f6068fb585a25d9d07800844a0fa23f4b6347c9 (diff)
downloadstsci.sphere-6068d3056d787384074a43ae8840163deeefd3f8.tar.gz
Fix tests
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci.sphere/trunk@32336 fe389314-cf27-0410-b35b-8c050e845b92 Former-commit-id: 40fd6b9821b5bf6120173a87d83d322988c6f4d9
Diffstat (limited to 'stsci/sphere/test/test.py')
-rw-r--r--stsci/sphere/test/test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/stsci/sphere/test/test.py b/stsci/sphere/test/test.py
index b551090..7c5eb35 100644
--- a/stsci/sphere/test/test.py
+++ b/stsci/sphere/test/test.py
@@ -156,8 +156,8 @@ def test_point_in_poly():
def test_point_in_poly_lots():
- import pyfits
- fits = pyfits.open(resolve_imagename(ROOT_DIR, '1904-66_TAN.fits'))
+ from astropy.io import fits
+ fits = fits.open(resolve_imagename(ROOT_DIR, '1904-66_TAN.fits'))
header = fits[0].header
poly1 = polygon.SphericalPolygon.from_wcs(