diff --git a/changelog/6069.improvement.rst b/changelog/6069.improvement.rst new file mode 100644 index 000000000..e60d154bb --- /dev/null +++ b/changelog/6069.improvement.rst @@ -0,0 +1 @@ +``pytester.spawn`` does not skip/xfail tests on FreeBSD anymore unconditionally. diff --git a/src/_pytest/pytester.py b/src/_pytest/pytester.py index 8a218d5e5..7eb912751 100644 --- a/src/_pytest/pytester.py +++ b/src/_pytest/pytester.py @@ -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")