[pypy-svn] r67363 - pypy/branch/newtrunk/pypy/tool/pytest
pedronis at codespeak.net
pedronis at codespeak.net
Mon Aug 31 16:20:42 CEST 2009
Author: pedronis
Date: Mon Aug 31 16:20:41 2009
New Revision: 67363
Modified:
pypy/branch/newtrunk/pypy/tool/pytest/appsupport.py
Log:
(iko, pedronis) framestack is no more, use the new interface
Modified: pypy/branch/newtrunk/pypy/tool/pytest/appsupport.py
==============================================================================
--- pypy/branch/newtrunk/pypy/tool/pytest/appsupport.py (original)
+++ pypy/branch/newtrunk/pypy/tool/pytest/appsupport.py Mon Aug 31 16:20:41 2009
@@ -184,7 +184,7 @@
"""Hack the fact that exc_info() isn't set until a app except
block catches it."""
err.normalize_exception(space)
- frame = space.getexecutioncontext().framestack.top()
+ frame = space.getexecutioncontext().gettopframe()
old = frame.last_exception
frame.last_exception = err
if not hasattr(space, '_w_ExceptionInfo'):
More information about the Pypy-commit
mailing list