Skip to content

Commit 716f532

Browse files
authored
Merge pull request #6070 from blueyed/pexpect-freebsd
pytester: spawn: do not skip FreeBSD
2 parents cbc39dd + 8e8a8fa commit 716f532

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

changelog/6069.improvement.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
``pytester.spawn`` does not skip/xfail tests on FreeBSD anymore unconditionally.

src/_pytest/pytester.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1195,8 +1195,6 @@ def spawn(self, cmd, expect_timeout=10.0):
11951195
pexpect = pytest.importorskip("pexpect", "3.0")
11961196
if hasattr(sys, "pypy_version_info") and "64" in platform.machine():
11971197
pytest.skip("pypy-64 bit not supported")
1198-
if sys.platform.startswith("freebsd"):
1199-
pytest.xfail("pexpect does not work reliably on freebsd")
12001198
if not hasattr(pexpect, "spawn"):
12011199
pytest.skip("pexpect.spawn not available")
12021200
logfile = self.tmpdir.join("spawn.out").open("wb")

0 commit comments

Comments
 (0)