pexpects: Disable 2 only on CI

As the comment says
This commit is contained in:
Fabian Boehm 2024-12-15 17:32:47 +01:00
parent 9b9663ea44
commit cb3fbd3a5c
2 changed files with 2 additions and 8 deletions

View file

@ -5,10 +5,7 @@ import sys
import signal import signal
import platform import platform
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)
if "CI" in os.environ and platform.system() == "Darwin":
sys.exit(127) sys.exit(127)
sp = SpawnedProc() sp = SpawnedProc()

View file

@ -5,10 +5,7 @@ import signal
import sys import sys
from pexpect_helper import SpawnedProc from pexpect_helper import SpawnedProc
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)
if "CI" in os.environ and platform.system() == "Darwin":
sys.exit(127) sys.exit(127)
sp = SpawnedProc() sp = SpawnedProc()