[pypy-svn] r20346 - pypy/branch/somepbc-refactoring/pypy/rpython/ootypesystem/test
mwh at codespeak.net
mwh at codespeak.net
Mon Nov 28 12:54:04 CET 2005
Author: mwh
Date: Mon Nov 28 12:54:04 2005
New Revision: 20346
Modified:
pypy/branch/somepbc-refactoring/pypy/rpython/ootypesystem/test/test_ooclean.py
Log:
unbreak the test infrastructure (not that many tests pass, of course :)
Modified: pypy/branch/somepbc-refactoring/pypy/rpython/ootypesystem/test/test_ooclean.py
==============================================================================
--- pypy/branch/somepbc-refactoring/pypy/rpython/ootypesystem/test/test_ooclean.py (original)
+++ pypy/branch/somepbc-refactoring/pypy/rpython/ootypesystem/test/test_ooclean.py Mon Nov 28 12:54:04 2005
@@ -18,11 +18,11 @@
def interpret(func, values, view=False, viewbefore=False, policy=None,
someobjects=False):
- interp = get_interpreter(func, values, view, viewbefore, policy,
+ interp, graph = get_interpreter(func, values, view, viewbefore, policy,
someobjects, type_system='ootype')
- for graph in interp.flowgraphs.values():
- check_only_ootype(graph)
- return interp.eval_function(func, values)
+ for g in interp.typer.annotator.translator.graphs:
+ check_only_ootype(g)
+ return interp.eval_graph(graph, values)
# ____________________________________________________________
More information about the Pypy-commit
mailing list