[pypy-svn] r48984 - pypy/branch/remove-extcompiler-rctypes/pypy/translator/test
cfbolz at codespeak.net
cfbolz at codespeak.net
Fri Nov 23 12:46:21 CET 2007
Author: cfbolz
Date: Fri Nov 23 12:46:20 2007
New Revision: 48984
Modified:
pypy/branch/remove-extcompiler-rctypes/pypy/translator/test/test_extension.py
Log:
use the new interface
Modified: pypy/branch/remove-extcompiler-rctypes/pypy/translator/test/test_extension.py
==============================================================================
--- pypy/branch/remove-extcompiler-rctypes/pypy/translator/test/test_extension.py (original)
+++ pypy/branch/remove-extcompiler-rctypes/pypy/translator/test/test_extension.py Fri Nov 23 12:46:20 2007
@@ -40,7 +40,8 @@
backend_optimizations(t)
if view:
t.viewcg()
- return getattr(cbuilder.import_module(), func.__name__)
+ cbuilder.import_module()
+ return cbuilder.get_entry_point()
def example_int_long(arg=int):
return long(arg+42)
More information about the Pypy-commit
mailing list