Skip to content

Commit

Permalink
pytester: spawn: do not skip FreeBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
blueyed committed Oct 26, 2019
1 parent 1ad4ca6 commit 8e8a8fa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions changelog/6069.improvement.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
``pytester.spawn`` does not skip/xfail tests on FreeBSD anymore unconditionally.
2 changes: 0 additions & 2 deletions src/_pytest/pytester.py
Original file line number Diff line number Diff line change
Expand Up @@ -1194,8 +1194,6 @@ def spawn(self, cmd, expect_timeout=10.0):
pexpect = pytest.importorskip("pexpect", "3.0")
if hasattr(sys, "pypy_version_info") and "64" in platform.machine():
pytest.skip("pypy-64 bit not supported")
if sys.platform.startswith("freebsd"):
pytest.xfail("pexpect does not work reliably on freebsd")
if not hasattr(pexpect, "spawn"):
pytest.skip("pexpect.spawn not available")
logfile = self.tmpdir.join("spawn.out").open("wb")
Expand Down

0 comments on commit 8e8a8fa

Please sign in to comment.