Skip to content

Commit

Permalink
Fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
sovrasov committed Nov 21, 2024
1 parent 3a30c1f commit 197f384
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 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,9 @@ 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 197f384

Please sign in to comment.