1 new commit in pytest:

https://bitbucket.org/hpk42/pytest/changeset/d3c36ac8ebff/
changeset:   d3c36ac8ebff
user:        hpk42
date:        2012-10-19 15:59:29
summary:     skip pexpect using tests on freebsd
affected #:  4 files

diff -r 0d17b885f23142dead7b91767537f4e7eb51da0a -r 
d3c36ac8ebff5e834b0ea4d0e8b9526b72fd942d CHANGELOG
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,6 +1,8 @@
 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
 -----------------------------------


diff -r 0d17b885f23142dead7b91767537f4e7eb51da0a -r 
d3c36ac8ebff5e834b0ea4d0e8b9526b72fd942d _pytest/__init__.py
--- a/_pytest/__init__.py
+++ b/_pytest/__init__.py
@@ -1,2 +1,2 @@
 #
-__version__ = '2.3.0'
+__version__ = '2.3.0.dev1'


diff -r 0d17b885f23142dead7b91767537f4e7eb51da0a -r 
d3c36ac8ebff5e834b0ea4d0e8b9526b72fd942d _pytest/pytester.py
--- a/_pytest/pytester.py
+++ b/_pytest/pytester.py
@@ -532,6 +532,8 @@
             pytest.skip("pypy-64 bit not supported")
         if sys.platform == "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")
         child = pexpect.spawn(cmd, logfile=logfile.open("w"))
         child.timeout = expect_timeout


diff -r 0d17b885f23142dead7b91767537f4e7eb51da0a -r 
d3c36ac8ebff5e834b0ea4d0e8b9526b72fd942d setup.py
--- a/setup.py
+++ b/setup.py
@@ -24,7 +24,7 @@
         name='pytest',
         description='py.test: simple powerful testing with Python',
         long_description = long_description,
-        version='2.3.0',
+        version='2.3.0.dev1',
         url='http://pytest.org',
         license='MIT license',
         platforms=['unix', 'linux', 'osx', 'cygwin', 'win32'],

Repository URL: https://bitbucket.org/hpk42/pytest/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
_______________________________________________
py-svn mailing list
py-svn@codespeak.net
http://codespeak.net/mailman/listinfo/py-svn

Reply via email to