diff options
Diffstat (limited to 'stsci/sphere/test/test_intersection.py')
-rw-r--r-- | stsci/sphere/test/test_intersection.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/stsci/sphere/test/test_intersection.py b/stsci/sphere/test/test_intersection.py index 92a3413..e837512 100644 --- a/stsci/sphere/test/test_intersection.py +++ b/stsci/sphere/test/test_intersection.py @@ -228,7 +228,7 @@ def test_ordering(): [3.532883212044564125e-01, 6.354215160430938258e-01, -6.866053153377369433e-01]) areas = [] - for i in xrange(nrepeat): + for i in range(nrepeat): C = A.intersection(B) areas.append(C.area()) areas = np.array(areas) @@ -243,7 +243,7 @@ def test_ordering(): Aareas = [] Bareas = [] Careas = [] - for i in xrange(nrepeat): + for i in range(nrepeat): AS = roll_polygon(A, i) BS = roll_polygon(B, i) @@ -253,7 +253,7 @@ def test_ordering(): Bareas.append(B.area()) Careas.append(C.area()) - for j in xrange(nrepeat): + for j in range(nrepeat): CS = roll_polygon(C, j) Careas.append(CS.area()) |