summaryrefslogtreecommitdiff
path: root/stsci/sphere/test/test.py
diff options
context:
space:
mode:
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(