From 006bf596236da20ba8073b6e816a9da6d6957cfa Mon Sep 17 00:00:00 2001 From: Naji El Hachem Date: Tue, 3 Oct 2023 12:12:34 +0200 Subject: [PATCH] skip test that uses new API --- tests/unit/data/data_pipeline/test_round_robin.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/unit/data/data_pipeline/test_round_robin.py b/tests/unit/data/data_pipeline/test_round_robin.py index d6e680040..cd2ce4d70 100644 --- a/tests/unit/data/data_pipeline/test_round_robin.py +++ b/tests/unit/data/data_pipeline/test_round_robin.py @@ -8,6 +8,7 @@ from fairseq2.data import DataPipeline, DataPipelineError, read_sequence from fairseq2.data.text import read_text +from tests.common import python_devel_only class TestRoundRobinOp: @@ -76,6 +77,10 @@ def test_op_works_when_pipelines_have_different_lengths(self) -> None: pipeline.reset() + @pytest.mark.skipif( + python_devel_only(), + reason="New fairseq2n API in Python-only installation. Skipping till v0.2.", + ) def test_op_works_when_pipelines_have_different_lengths_stop_on_shortest( self, ) -> None: