Skip to content

Commit

Permalink
pragma no cover branch
Browse files Browse the repository at this point in the history
  • Loading branch information
FBruzzesi committed Jan 9, 2025
1 parent 1bd6ffc commit 0fbeb17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down

0 comments on commit 0fbeb17

Please sign in to comment.