diff --git a/tests/pexpects/bind_mode_events.py b/tests/pexpects/bind_mode_events.py index a68451af9..4ee9c37c2 100644 --- a/tests/pexpects/bind_mode_events.py +++ b/tests/pexpects/bind_mode_events.py @@ -5,10 +5,7 @@ import sys import signal import platform -if platform.system() == "FreeBSD": # Spurious failure. TODO Only disable this in CI. - sys.exit(127) - -if "CI" in os.environ and platform.system() == "Darwin": +if "CI" in os.environ and platform.system() in ["Darwin", "FreeBSD"]: sys.exit(127) sp = SpawnedProc() diff --git a/tests/pexpects/torn_escapes.py b/tests/pexpects/torn_escapes.py index df2fbc538..a528ef81e 100644 --- a/tests/pexpects/torn_escapes.py +++ b/tests/pexpects/torn_escapes.py @@ -5,10 +5,7 @@ import signal import sys from pexpect_helper import SpawnedProc -if platform.system() == "FreeBSD": # Spurious failure. TODO Only disable this in CI. - sys.exit(127) - -if "CI" in os.environ and platform.system() == "Darwin": +if "CI" in os.environ and platform.system() in ["Darwin", "FreeBSD"]: sys.exit(127) sp = SpawnedProc()