detections __getitem__ test: minor class name correction

This commit is contained in:
LinasKo committed 2024-12-04 12:13:33 +02:00
1 parent 37eadfe305
commit 7141f11c0b
1 file changed
+2 -2
+2 -2
View File
@@ -225,10 +225,10 @@ TEST_DET_DIFFERENT_METADATA = Detections(
),
(
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(