Author: Manuel Jacob
Branch: remove-remaining-smm
Changeset: r69375:c0abbab51946
Date: 2014-02-25 02:02 +0100
http://bitbucket.org/pypy/pypy/changeset/c0abbab51946/
Log: Work around change in py library.
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
@@ -129,9 +129,13 @@
exprinfo = None
def __init__(self, space, tb):
- self.frame = AppFrame(space, space.getattr(tb, space.wrap('tb_frame')))
+ self._frame = AppFrame(space, space.getattr(tb,
space.wrap('tb_frame')))
self.lineno = space.unwrap(space.getattr(tb, space.wrap('tb_lineno')))
- 1
+ @property
+ def frame(self):
+ return self._frame
+
def reinterpret(self):
# XXX we need to solve a general problem: how to prevent
# reinterpretation from generating a different exception?
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit