[pypy-svn] pypy default: bump to pytest-2.0.3.dev0 version which contains a fix speeding up skips

hpk42 commits-noreply at bitbucket.org
Fri Mar 11 15:45:58 CET 2011


Author: holger krekel <holger at merlinux.eu>
Branch: 
Changeset: r42514:02348155e320
Date: 2011-03-11 15:45 +0100
http://bitbucket.org/pypy/pypy/changeset/02348155e320/

Log:	bump to pytest-2.0.3.dev0 version which contains a fix speeding up
	skips which had prolonged some pypy test runs (app-level most
	notably)

diff --git a/pytest.py b/pytest.py
--- a/pytest.py
+++ b/pytest.py
@@ -3,7 +3,7 @@
 (pypy version of startup script)
 see http://pytest.org for details.
 """
-__version__ = '2.0.2' # base pytest version
+__version__ = '2.0.3.dev0' # base pytest version
 __all__ = ['main']
 
 from _pytest.core import main, UsageError, _preloadplugins

diff --git a/_pytest/runner.py b/_pytest/runner.py
--- a/_pytest/runner.py
+++ b/_pytest/runner.py
@@ -153,7 +153,7 @@
             longrepr = excinfo
         elif excinfo.errisinstance(py.test.skip.Exception):
             outcome = "skipped"
-            r = item._repr_failure_py(excinfo, "line").reprcrash
+            r = excinfo._getreprcrash()
             longrepr = (str(r.path), r.lineno, r.message)
         else:
             outcome = "failed"


More information about the Pypy-commit mailing list