Skip to content

Commit

Permalink
test fix for py3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
AnihilatorGun committed Nov 17, 2024
1 parent 461aa6f commit e01ace7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test_convex_hull.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@ def test_offset():
def test_convex_hull_image():
image = invert(data.horse())

chull_ref = convex_hull_image(image, offset_coordinates=True, include_borders=True)
try:
chull_ref = convex_hull_image(image, offset_coordinates=True, include_borders=True)
except TypeError:
chull_ref = convex_hull_image(image, offset_coordinates=True)

chull = convex_hull_image_fast(image, offset_coordinates=True)

Expand Down

0 comments on commit e01ace7

Please sign in to comment.