Skip to content

Commit

Permalink
GmMultiPolyIntersector for python - fix CI errors
Browse files Browse the repository at this point in the history
  • Loading branch information
mkennard-aquaveo committed Jan 4, 2024
1 parent 2e3fb16 commit ceb6603
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def _run_test(self, x1, y1, x2, y2, points, polys, expected_poly_ids, expected_t

# Check points
assert len(pts) == len(expected_points)
for idx, point, expected_point in enumerate(zip(self._zeroed_z(pts), self._zeroed_z(expected_points))):
for idx, (point, expected_point) in enumerate(zip(self._zeroed_z(pts), self._zeroed_z(expected_points))):
for i in range(3):
assert_str = f'Point {idx}[{i}], : Expected {expected_point[i]}. Got {point[i]}'
assert math.isclose(point[i], expected_point[i]), assert_str
Expand Down

0 comments on commit ceb6603

Please sign in to comment.