From 0fbeb17330631dbc64fb556d66dfde588c784929 Mon Sep 17 00:00:00 2001 From: FBruzzesi Date: Thu, 9 Jan 2025 12:53:58 +0100 Subject: [PATCH] pragma no cover branch --- tests/conftest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index 6b579eb23..cd1f49138 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -220,9 +220,9 @@ def pytest_generate_tests(metafunc: pytest.Metafunc) -> None: constructors_ids.append(constructor) elif constructor in LAZY_CONSTRUCTORS: if constructor == "pyspark": - if sys.version_info < (3, 12): + if sys.version_info < (3, 12): # pragma: no cover constructors.append(pyspark_lazy_constructor()) - else: + else: # pragma: no cover continue else: constructors.append(LAZY_CONSTRUCTORS[constructor])