Skip to content

Commit

Permalink
Fix conftest on non linux machines (#238)
Browse files Browse the repository at this point in the history
  • Loading branch information
MasloMaslane authored Apr 21, 2024
1 parent 1776869 commit 60fcd9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,6 @@ def pytest_collection_modifyitems(config, items: List[pytest.Item]):

for item in items:
if "oiejq" in item.keywords:
if sys.platform != "linux" or config.getoption("--time-tool") == ["time"] or \
if not util.is_linux() or config.getoption("--time-tool") == ["time"] or \
config.getoption("--github-runner"):
item.add_marker(pytest.mark.skip(reason="oiejq required"))

0 comments on commit 60fcd9c

Please sign in to comment.