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 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()

View File

@ -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()