From 14f78511650f425163cd603e8f2403436ff2e8f8 Mon Sep 17 00:00:00 2001 From: Mateusz Masiarz Date: Sun, 21 Apr 2024 10:55:33 +0200 Subject: [PATCH] Fix conftest on non linux machines --- tests/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/conftest.py b/tests/conftest.py index 6405706d..8882f8a2 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -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"))