There was an error while loading. Please reload this page.
1 parent a041864 commit 4266e9bCopy full SHA for 4266e9b
1 file changed
tests/semantic_segmentation/test_dataloader.py
@@ -1,11 +1,12 @@
1
import pytest
2
3
+from valor_lite.exceptions import EmptyEvaluatorException
4
from valor_lite.semantic_segmentation import DataLoader, Segmentation
5
6
7
def test_no_data():
8
loader = DataLoader()
- with pytest.raises(ValueError):
9
+ with pytest.raises(EmptyEvaluatorException):
10
loader.finalize()
11
12
0 commit comments