diff --git a/test/detection/test_core.py b/test/detection/test_core.py index 61796bef2..402d9ef1c 100644 --- a/test/detection/test_core.py +++ b/test/detection/test_core.py @@ -223,6 +223,12 @@ None, pytest.raises(IndexError), ), + ( + Detections.empty(), + np.isin(Detections.empty()["class_name"], [0, 1, 2]), + Detections.empty(), + DoesNotRaise(), + ), ], ) def test_getitem(