[pypy-svn] r49623 - pypy/dist/pypy/objspace/std/test
fijal at codespeak.net
fijal at codespeak.net
Tue Dec 11 12:46:52 CET 2007
Author: fijal
Date: Tue Dec 11 12:46:51 2007
New Revision: 49623
Modified:
pypy/dist/pypy/objspace/std/test/test_proxy_internals.py
Log:
A failing test for proxy of user-created objects (right now is failing for
some other reason)
Modified: pypy/dist/pypy/objspace/std/test/test_proxy_internals.py
==============================================================================
--- pypy/dist/pypy/objspace/std/test/test_proxy_internals.py (original)
+++ pypy/dist/pypy/objspace/std/test/test_proxy_internals.py Tue Dec 11 12:46:51 2007
@@ -122,6 +122,14 @@
lst = tproxy(list, f)
assert get_tproxy_controller(lst) is f
+ def test_proxy_file(self):
+ from __pypy__ import tproxy
+
+ def f(name, *args, **kwds):
+ pass
+
+ t = tproxy(file, f)
+
class DONTAppTestProxyType(AppProxy):
def test_filetype(self):
f = self.get_proxy(file)
More information about the Pypy-commit
mailing list