Skip to content

Commit 4266e9b

Browse files
committed
fix test
1 parent a041864 commit 4266e9b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/semantic_segmentation/test_dataloader.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
import pytest
22

3+
from valor_lite.exceptions import EmptyEvaluatorException
34
from valor_lite.semantic_segmentation import DataLoader, Segmentation
45

56

67
def test_no_data():
78
loader = DataLoader()
8-
with pytest.raises(ValueError):
9+
with pytest.raises(EmptyEvaluatorException):
910
loader.finalize()
1011

1112

0 commit comments

Comments
 (0)