[pypy-svn] r7945 - pypy/branch/src-pytest/pypy/tool/pytest
arigo at codespeak.net
arigo at codespeak.net
Mon Dec 20 16:00:02 CET 2004
Author: arigo
Date: Mon Dec 20 16:00:01 2004
New Revision: 7945
Modified:
pypy/branch/src-pytest/pypy/tool/pytest/support.py
Log:
clean-up
Modified: pypy/branch/src-pytest/pypy/tool/pytest/support.py
==============================================================================
--- pypy/branch/src-pytest/pypy/tool/pytest/support.py (original)
+++ pypy/branch/src-pytest/pypy/tool/pytest/support.py Mon Dec 20 16:00:01 2004
@@ -3,7 +3,7 @@
from py.__impl__.magic import exprinfo
from py.code import InspectableFrame
from pypy.objspace.std import StdObjSpace
-from pypy.interpreter.gateway import app2interp, interp2app
+from pypy.interpreter.gateway import app2interp_temp, interp2app_temp
from pypy.interpreter.argument import Arguments
from pypy.interpreter.error import OperationError
@@ -61,7 +61,7 @@
w_BuiltinAssertionError = space.getitem(space.w_builtins,
space.wrap('AssertionError'))
w_metaclass = space.type(w_BuiltinAssertionError)
- w_init = space.wrap(interp2app(my_init))
+ w_init = space.wrap(interp2app_temp(my_init))
w_dict = space.newdict([])
space.setitem(w_dict, space.wrap('__init__'), w_init)
return space.call_function(w_metaclass,
@@ -92,7 +92,7 @@
def app_test_func():
x = 6*7
assert x == 43
- t = app2interp(app_test_func)
+ t = app2interp_temp(app_test_func)
f = t.get_function(space)
space.setitem(space.w_builtins, space.wrap('AssertionError'),
build_pytest_assertion(space))
More information about the Pypy-commit
mailing list