diff --git a/tests/pexpects/signals.py b/tests/pexpects/signals.py index 9387ae331..ff53ee663 100644 --- a/tests/pexpects/signals.py +++ b/tests/pexpects/signals.py @@ -18,10 +18,7 @@ import signal import subprocess import sys -if "CI" in os.environ and platform.system() == "Darwin": - sys.exit(127) - -if platform.system() == "FreeBSD": # Spurious failure. TODO Only disable this in CI. +if "CI" in os.environ and platform.system() in ["Darwin", "FreeBSD"]: sys.exit(127) expect_prompt()