Skip to content

Commit 8e8a8fa

Browse files
committed
pytester: spawn: do not skip FreeBSD
Fixes #6069
1 parent 1ad4ca6 commit 8e8a8fa

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
@@ -1194,8 +1194,6 @@ def spawn(self, cmd, expect_timeout=10.0):
11941194
pexpect = pytest.importorskip("pexpect", "3.0")
11951195
if hasattr(sys, "pypy_version_info") and "64" in platform.machine():
11961196
pytest.skip("pypy-64 bit not supported")
1197-
if sys.platform.startswith("freebsd"):
1198-
pytest.xfail("pexpect does not work reliably on freebsd")
11991197
if not hasattr(pexpect, "spawn"):
12001198
pytest.skip("pexpect.spawn not available")
12011199
logfile = self.tmpdir.join("spawn.out").open("wb")

0 commit comments

Comments
 (0)