pytester: spawn: do not skip FreeBSD

Fixes https://github.com/pytest-dev/pytest/issues/6069
This commit is contained in:
Daniel Hahler 2019-10-27 00:41:23 +02:00
parent 1ad4ca6ac1
commit 8e8a8fa4b9
2 changed files with 1 additions and 2 deletions

View File

@ -0,0 +1 @@
``pytester.spawn`` does not skip/xfail tests on FreeBSD anymore unconditionally.

View File

@ -1194,8 +1194,6 @@ class Testdir:
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")