summaryrefslogtreecommitdiff
path: root/stsci/sphere/test/test_intersection.py
diff options
context:
space:
mode:
Diffstat (limited to 'stsci/sphere/test/test_intersection.py')
-rw-r--r--stsci/sphere/test/test_intersection.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/stsci/sphere/test/test_intersection.py b/stsci/sphere/test/test_intersection.py
index 08ed258..8127e95 100644
--- a/stsci/sphere/test/test_intersection.py
+++ b/stsci/sphere/test/test_intersection.py
@@ -176,7 +176,7 @@ def test6():
return [poly1, poly2]
-def test_union_empty():
+def test_intersection_empty():
p = polygon.SphericalPolygon.from_cone(
random.randrange(-180, 180),
random.randrange(20, 90),
@@ -185,7 +185,7 @@ def test_union_empty():
p2 = p.intersection(polygon.SphericalPolygon([]))
- assert_array_almost_equal(p2._points, p._points)
+ assert_array_almost_equal(p2._points, [])
if __name__ == '__main__':