Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
ahuang11 committed Jul 1, 2024
1 parent 77df8bb commit 6d86fc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion holonote/tests/test_display.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def test_get_indices_by_position_nearest_2d_point_threshold(self, annotator_poin
annotator_point2d.set_regions(x=x, y=y)
annotator_point2d.add_annotation(description=description)
display = annotator_point2d.get_display("x", "y")
indices = display.get_indices_by_position(x=x + 0.5, y=y + 0.5)
indices = display.get_indices_by_position(x=x + 1.5, y=y + 1.5)
assert len(indices) == 0

display._nearest_2d_point_threshold = 5
Expand Down

0 comments on commit 6d86fc1

Please sign in to comment.