Skip to content
Snippets Groups Projects
Commit 47647a7c authored by ogueler@idiap.ch's avatar ogueler@idiap.ch
Browse files

fixed formatting in tests

parent 727dfa94
Branches
Tags
2 merge requests!5Tbx11k,!4Moved code to lightning
...@@ -98,6 +98,7 @@ def test_protocol_consistency(): ...@@ -98,6 +98,7 @@ def test_protocol_consistency():
for s in subset["test"]: for s in subset["test"]:
assert s.label in [0.0, 1.0] assert s.label in [0.0, 1.0]
def test_protocol_consistency_bbox(): def test_protocol_consistency_bbox():
from ptbench.data.tbx11k_simplified_v2 import dataset_with_bboxes from ptbench.data.tbx11k_simplified_v2 import dataset_with_bboxes
......
...@@ -98,6 +98,7 @@ def test_protocol_consistency(): ...@@ -98,6 +98,7 @@ def test_protocol_consistency():
for s in subset["test"]: for s in subset["test"]:
assert s.label in [0.0, 1.0, 2.0, 3.0] assert s.label in [0.0, 1.0, 2.0, 3.0]
def test_protocol_consistency_bbox(): def test_protocol_consistency_bbox():
from ptbench.data.tbx11k_simplified_v3 import dataset_with_bboxes from ptbench.data.tbx11k_simplified_v3 import dataset_with_bboxes
......
...@@ -2,7 +2,8 @@ ...@@ -2,7 +2,8 @@
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-License-Identifier: GPL-3.0-or-later
"""Tests for the aggregated Montgomery-Shenzhen-Indian-tbx11k_simplified dataset.""" """Tests for the aggregated Montgomery-Shenzhen-Indian-tbx11k_simplified
dataset."""
def test_dataset_consistency(): def test_dataset_consistency():
......
...@@ -2,7 +2,8 @@ ...@@ -2,7 +2,8 @@
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-License-Identifier: GPL-3.0-or-later
"""Tests for the aggregated Montgomery-Shenzhen-Indian-tbx11k_simplified_v2 dataset.""" """Tests for the aggregated Montgomery-Shenzhen-Indian-tbx11k_simplified_v2
dataset."""
def test_dataset_consistency(): def test_dataset_consistency():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment