Commit 87854b0b authored by Claude Paroz's avatar Claude Paroz
Browse files

Fixed geos test to prevent random failure

Points in the test fixtures have 20 as max coordinate.
parent 35185495
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -688,7 +688,7 @@ class GEOSTest(unittest.TestCase, TestDataMixin):
            for i in range(len(mp)):
                # Creating a random point.
                pnt = mp[i]
                new = Point(random.randint(1, 100), random.randint(1, 100))
                new = Point(random.randint(21, 100), random.randint(21, 100))
                # Testing the assignment
                mp[i] = new
                s = str(new) # what was used for the assignment is still accessible