Skip to content

Commit 43da863

Browse files
committed
Add proto benchmarks and reasons to skip
1 parent 3a71b8c commit 43da863

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

tests/test_unit/test_io/test_load_bboxes.py

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -742,29 +742,39 @@ def test_position_numpy_array_from_via_tracks_file(via_file_path):
742742
)
743743

744744

745+
@pytest.mark.skip(
746+
reason=(
747+
"Waiting on [PR #772](https://github.com/movement-project/movement/pull/772)"
748+
" to be reviewed and merged."
749+
)
750+
)
745751
@pytest.mark.benchmark
746752
@pytest.mark.parametrize(
747753
"via_file_path",
748754
[
749755
pytest.DATA_PATHS.get("VIA_multiple-crabs_5-frames_labels.csv"),
750-
# multiple individuals present in all 5 frames
751756
pytest.DATA_PATHS.get("VIA_single-crab_MOCA-crab-1.csv"),
752-
# single individual present in 35 non-consecutive frames
753757
],
754758
)
755759
def test_benchmark_from_via_tracks_file(via_file_path, benchmark):
756760
"""Benchmark the loading of a VIA tracks .csv file."""
757761
benchmark(load_bboxes.from_via_tracks_file, via_file_path)
758762

759763

764+
@pytest.mark.skip(
765+
reason=(
766+
"Waiting on [PR #772](https://github.com/movement-project/movement/pull/772)"
767+
" to be reviewed and merged."
768+
)
769+
)
760770
@pytest.mark.benchmark
761771
@pytest.mark.parametrize(
762772
"via_file_path",
763773
[
764774
pytest.DATA_PATHS.get("VIA_multiple-crabs_5-frames_labels.csv"),
765-
# multiple individuals present in all 5 frames
775+
# multiple crabs present in all 5 frames
766776
pytest.DATA_PATHS.get("VIA_single-crab_MOCA-crab-1.csv"),
767-
# single individual present in 35 non-consecutive frames
777+
# single crab present in 35 non-consecutive frames
768778
],
769779
)
770780
def test_benchmark_df_from_via_tracks_file(via_file_path, benchmark):

0 commit comments

Comments
 (0)