[pypy-svn] r39939 - pypy/dist/pypy/rpython/module/test
antocuni at codespeak.net
antocuni at codespeak.net
Mon Mar 5 10:34:15 CET 2007
Author: antocuni
Date: Mon Mar 5 10:34:13 2007
New Revision: 39939
Modified:
pypy/dist/pypy/rpython/module/test/test_ll_os.py
Log:
we no longer need to get im_func
Modified: pypy/dist/pypy/rpython/module/test/test_ll_os.py
==============================================================================
--- pypy/dist/pypy/rpython/module/test/test_ll_os.py (original)
+++ pypy/dist/pypy/rpython/module/test/test_ll_os.py Mon Mar 5 10:34:13 2007
@@ -118,7 +118,7 @@
if hasattr(os, 'execv'):
from pypy.rpython.extregistry import lookup
- os_execv = lookup(os.execv).lltypeimpl.im_func
+ os_execv = lookup(os.execv).lltypeimpl
def test_execv():
filename = str(udir.join('test_execv_ctypes.txt'))
@@ -137,7 +137,7 @@
def test_dup():
from pypy.rpython.extregistry import lookup
- os_dup = lookup(os.dup).lltypeimpl.im_func
+ os_dup = lookup(os.dup).lltypeimpl
testf = udir.join('test.txt')
testf.write("foo")
path = testf.strpath
More information about the Pypy-commit
mailing list