[py-svn] commit/pytest: hpk42: jython-2.5.2 has a core bug preventing pytest to run :(

Bitbucket commits-noreply at bitbucket.org
Fri Aug 19 19:26:02 CEST 2011


1 new changeset in pytest:

http://bitbucket.org/hpk42/pytest/changeset/5cfba874ffad/
changeset:   5cfba874ffad
user:        hpk42
date:        2011-08-19 19:25:52
summary:     jython-2.5.2 has a core bug preventing pytest to run :(
affected #:  2 files (121 bytes)

--- a/doc/index.txt	Fri Aug 19 18:06:46 2011 +0200
+++ b/doc/index.txt	Fri Aug 19 19:25:52 2011 +0200
@@ -5,7 +5,7 @@
 
 - **a mature full-featured testing tool**
 
- - runs on Posix/Windows, Python 2.4-3.2, PyPy and Jython
+ - runs on Posix/Windows, Python 2.4-3.2, PyPy and Jython-2.5.1
  - :ref:`comprehensive online <toc>` and `PDF documentation <pytest.pdf>`_
  - continuously `tested on many Python interpreters <http://hudson.testrun.org/view/pytest/job/pytest/>`_
  - used in :ref:`many projects and organisations <projects>`, in test


--- a/testing/conftest.py	Fri Aug 19 18:06:46 2011 +0200
+++ b/testing/conftest.py	Fri Aug 19 19:25:52 2011 +0200
@@ -53,7 +53,7 @@
                 metafunc.addcall(funcargs={name: val})
     elif 'anypython' in metafunc.funcargnames:
         for name in ('python2.4', 'python2.5', 'python2.6',
-                     'python2.7', 'python3.1', 'pypy-c', 'jython'):
+                     'python2.7', 'python3.1', 'pypy', 'jython'):
             metafunc.addcall(id=name, param=name)
 
 # XXX copied from execnet's conftest.py - needs to be merged
@@ -78,6 +78,8 @@
                 out, err = popen.communicate()
                 if not err or "2.5" not in err:
                     executable = None
+                if "2.5.2" in err:
+                    executable = None # http://bugs.jython.org/issue1790
         cache[name] = executable
         return executable
 
@@ -91,5 +93,5 @@
                 executable = py.path.local(executable)
                 if executable.check():
                     return executable
-        pytest.skip("no %s found" % (name,))
+        pytest.skip("no suitable %s found" % (name,))
     return executable

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.



More information about the pytest-commit mailing list