Author: Ronan Lamy <[email protected]>
Branch:
Changeset: r76899:a24deef350ce
Date: 2015-04-23 17:13 +0100
http://bitbucket.org/pypy/pypy/changeset/a24deef350ce/
Log: hack to support pytest 2.7
diff --git a/pypy/tool/pytest/appsupport.py b/pypy/tool/pytest/appsupport.py
--- a/pypy/tool/pytest/appsupport.py
+++ b/pypy/tool/pytest/appsupport.py
@@ -99,6 +99,7 @@
debug_excs = getattr(operr, 'debug_excs', [])
if debug_excs:
self._excinfo = debug_excs[0]
+ self.value = self.operr.errorstr(self.space) # XXX
def __repr__(self):
return "<AppExceptionInfo %s>" % self.operr.errorstr(self.space)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit