summaryrefslogtreecommitdiff
path: root/lib/test/test_intersection.py
diff options
context:
space:
mode:
authormdroe <mdroe@stsci.edu>2012-06-04 17:02:28 -0400
committermdroe <mdroe@stsci.edu>2012-06-04 17:02:28 -0400
commitf502335a1a9121eeaa8bd2e06adae49c5408830a (patch)
treed442735fd8b7de3a298a60d93352fe3f200d87d8 /lib/test/test_intersection.py
parentb6749b81e09abad7944a4af21417e23cd8ad3460 (diff)
downloadstsci.sphere-f502335a1a9121eeaa8bd2e06adae49c5408830a.tar.gz
Python 3.x fixes
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/branches/sphere@17201 fe389314-cf27-0410-b35b-8c050e845b92 Former-commit-id: 645db247912b7d5985ab878bd3c7fb5e9574f05d
Diffstat (limited to 'lib/test/test_intersection.py')
-rw-r--r--lib/test/test_intersection.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/test/test_intersection.py b/lib/test/test_intersection.py
index 12b3ce7..d25ce2e 100644
--- a/lib/test/test_intersection.py
+++ b/lib/test/test_intersection.py
@@ -1,4 +1,4 @@
-from __future__ import print_function
+from __future__ import print_function, absolute_import
# STDLIB
import functools
@@ -13,8 +13,8 @@ import numpy as np
from numpy.testing import assert_array_almost_equal
# LOCAL
-from sphere import polygon
-from test_shared import resolve_imagename
+from .. import polygon
+from .test_shared import resolve_imagename
GRAPH_MODE = False
ROOT_DIR = os.path.join(os.path.dirname(__file__), 'data')