From 2d057cb32321f6d4ac76c57968bc4cfe58b661c6 Mon Sep 17 00:00:00 2001 From: mdroe Date: Tue, 10 Jun 2014 19:49:34 +0000 Subject: Better track the nodes' source so we can do better internal/external edge removal. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci.sphere/trunk@32435 fe389314-cf27-0410-b35b-8c050e845b92 Former-commit-id: a97410e5abab2ffefba2f393909abf76af76cf75 --- stsci/sphere/test/test_intersection.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'stsci/sphere/test') 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__': -- cgit