Skip to content

Commit 54a7727

Browse files
author
Val Brodsky
committed
Remove LabelList from a test
1 parent e4c73ea commit 54a7727

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

tests/data/annotation_types/test_metrics.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
from labelbox.data.annotation_types.metrics import ConfusionMatrixAggregation, ScalarMetricAggregation
55
from labelbox.data.annotation_types.metrics import ConfusionMatrixMetric, ScalarMetric
6-
from labelbox.data.annotation_types.collection import LabelList
76
from labelbox.data.annotation_types import ScalarMetric, Label, ImageData
87
from labelbox.data.annotation_types.metrics.scalar import RESERVED_METRIC_NAMES
98

@@ -34,7 +33,6 @@ def test_legacy_scalar_metric():
3433
'uid': None
3534
}
3635
assert label.dict() == expected
37-
assert next(LabelList([label])).dict() == expected
3836

3937

4038
# TODO: Test with confidence
@@ -96,7 +94,6 @@ def test_custom_scalar_metric(feature_name, subclass_name, aggregation, value):
9694
}
9795

9896
assert label.dict() == expected
99-
assert next(LabelList([label])).dict() == expected
10097

10198

10299
@pytest.mark.parametrize('feature_name,subclass_name,aggregation,value', [
@@ -152,7 +149,6 @@ def test_custom_confusison_matrix_metric(feature_name, subclass_name,
152149
'uid': None
153150
}
154151
assert label.dict() == expected
155-
assert next(LabelList([label])).dict() == expected
156152

157153

158154
def test_name_exists():

0 commit comments

Comments
 (0)