skip pexpect using tests on freebsd
This commit is contained in:
parent
76db624639
commit
0852e84d9f
|
@ -1,6 +1,8 @@
|
||||||
Changes between 2.3.0 and 2.3.dev
|
Changes between 2.3.0 and 2.3.dev
|
||||||
-----------------------------------
|
-----------------------------------
|
||||||
|
|
||||||
|
- skip pexpect using tests (test_pdb.py mostly) on freebsd* systems
|
||||||
|
due to pexpect not supporting it properly (hanging)
|
||||||
|
|
||||||
Changes between 2.2.4 and 2.3.0
|
Changes between 2.2.4 and 2.3.0
|
||||||
-----------------------------------
|
-----------------------------------
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
#
|
#
|
||||||
__version__ = '2.3.0'
|
__version__ = '2.3.0.dev1'
|
||||||
|
|
|
@ -532,6 +532,8 @@ class TmpTestdir:
|
||||||
pytest.skip("pypy-64 bit not supported")
|
pytest.skip("pypy-64 bit not supported")
|
||||||
if sys.platform == "darwin":
|
if sys.platform == "darwin":
|
||||||
pytest.xfail("pexpect does not work reliably on darwin?!")
|
pytest.xfail("pexpect does not work reliably on darwin?!")
|
||||||
|
if sys.platform.startswith("freebsd"):
|
||||||
|
pytest.xfail("pexpect does not work reliably on freebsd")
|
||||||
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
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -24,7 +24,7 @@ def main():
|
||||||
name='pytest',
|
name='pytest',
|
||||||
description='py.test: simple powerful testing with Python',
|
description='py.test: simple powerful testing with Python',
|
||||||
long_description = long_description,
|
long_description = long_description,
|
||||||
version='2.3.0',
|
version='2.3.0.dev1',
|
||||||
url='http://pytest.org',
|
url='http://pytest.org',
|
||||||
license='MIT license',
|
license='MIT license',
|
||||||
platforms=['unix', 'linux', 'osx', 'cygwin', 'win32'],
|
platforms=['unix', 'linux', 'osx', 'cygwin', 'win32'],
|
||||||
|
|
Loading…
Reference in New Issue