From 7f7589afa9f2db82760d6b9eeff65678267afa5e Mon Sep 17 00:00:00 2001 From: holger krekel Date: Fri, 11 Nov 2011 21:33:45 +0000 Subject: [PATCH] skip pexpect tests on darwin --- _pytest/pytester.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/_pytest/pytester.py b/_pytest/pytester.py index fb8adc50a..3ec8b696e 100644 --- a/_pytest/pytester.py +++ b/_pytest/pytester.py @@ -516,6 +516,8 @@ class TmpTestdir: pexpect = py.test.importorskip("pexpect", "2.4") if hasattr(sys, 'pypy_version_info') and '64' in py.std.platform.machine(): pytest.skip("pypy-64 bit not supported") + if sys.platform == "darwin": + pytest.xfail("pexpect does not work reliably on darwin?!") logfile = self.tmpdir.join("spawn.out") child = pexpect.spawn(cmd, logfile=logfile.open("w")) child.timeout = expect_timeout