From b6f074aafc9d6ffd7e518cdc5c50d9ab5970ab46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Thu, 23 Feb 2023 21:34:57 -0800 Subject: [PATCH] run Linux tests on Darwin as well --- tests/linux/conftest.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/linux/conftest.py b/tests/linux/conftest.py index 038203f..6802f04 100644 --- a/tests/linux/conftest.py +++ b/tests/linux/conftest.py @@ -3,13 +3,13 @@ import pytest -if sys.platform.startswith("linux"): +if sys.platform.startswith(("darwin", "linux")): import termios -# ignore all tests in this folder if not on linux +# ignore all tests in this folder if not on Unix def pytest_ignore_collect(path, config): - if not sys.platform.startswith("linux"): + if not sys.platform.startswith(("darwin", "linux")): return True