skip pexpect tests on darwin
This commit is contained in:
parent
4f01cda2a7
commit
7f7589afa9
|
@ -516,6 +516,8 @@ class TmpTestdir:
|
||||||
pexpect = py.test.importorskip("pexpect", "2.4")
|
pexpect = py.test.importorskip("pexpect", "2.4")
|
||||||
if hasattr(sys, 'pypy_version_info') and '64' in py.std.platform.machine():
|
if hasattr(sys, 'pypy_version_info') and '64' in py.std.platform.machine():
|
||||||
pytest.skip("pypy-64 bit not supported")
|
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")
|
logfile = self.tmpdir.join("spawn.out")
|
||||||
child = pexpect.spawn(cmd, logfile=logfile.open("w"))
|
child = pexpect.spawn(cmd, logfile=logfile.open("w"))
|
||||||
child.timeout = expect_timeout
|
child.timeout = expect_timeout
|
||||||
|
|
Loading…
Reference in New Issue