Skip to content

Commit

Permalink
Fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
sovrasov committed Nov 22, 2024
1 parent 3a30c1f commit fd038bc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/unit/core/types/test_label.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ def test_seg_label_info():
["0", "1", "2"],
[["label_0", "label_1", "label_2"]],
)
assert SegLabelInfo.from_num_classes(1) == SegLabelInfo(["background", "label_0"], ["0", "1"], [["background", "label_0"]])
assert SegLabelInfo.from_num_classes(1) == SegLabelInfo(
["background", "label_0"],
["0", "1"],
[["background", "label_0"]],
)
assert SegLabelInfo.from_num_classes(0) == NullLabelInfo()


Expand Down

0 comments on commit fd038bc

Please sign in to comment.