[pypy-svn] r65543 - pypy/trunk/pypy/objspace/std/test
cfbolz at codespeak.net
cfbolz at codespeak.net
Tue Jun 2 17:29:50 CEST 2009
Author: cfbolz
Date: Tue Jun 2 17:29:48 2009
New Revision: 65543
Modified:
pypy/trunk/pypy/objspace/std/test/test_typeobject.py
Log:
A skipped test: The __dict__ attribute of our types returns a dict proxy object
that is a copy of the real type dict. Thus it is not updated when the type dict
changes.
Modified: pypy/trunk/pypy/objspace/std/test/test_typeobject.py
==============================================================================
--- pypy/trunk/pypy/objspace/std/test/test_typeobject.py (original)
+++ pypy/trunk/pypy/objspace/std/test/test_typeobject.py Tue Jun 2 17:29:48 2009
@@ -915,6 +915,15 @@
return 0
raises(TypeError, X)
+ def test_dictproxy_is_updated(self):
+ py.test.skip("fix me")
+ class A(object):
+ x = 1
+ d = A.__dict__
+ assert d["x"] == 1
+ A.y = 2
+ assert d["y"] == 2
+
class AppTestMutableBuiltintypes:
More information about the Pypy-commit
mailing list