Skip to content

Commit

Permalink
detections __getitem__ test: minor class name correction
Browse files Browse the repository at this point in the history
  • Loading branch information
LinasKo committed Dec 4, 2024
1 parent 37eadfe commit 7141f11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/detection/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,10 +225,10 @@
),
(
Detections.empty(),
np.isin(Detections.empty()["class_name"], [0, 1, 2]),
np.isin(Detections.empty()["class_name"], ["cat", "dog"]),
Detections.empty(),
DoesNotRaise(),
),
), # Filter an empty detections by specific class names
],
)
def test_getitem(
Expand Down

0 comments on commit 7141f11

Please sign in to comment.