[pypy-svn] r55728 - pypy/dist/pypy/objspace/std/test

fijal at codespeak.net fijal at codespeak.net
Tue Jun 10 07:22:31 CEST 2008


Author: fijal
Date: Tue Jun 10 07:22:30 2008
New Revision: 55728

Modified:
   pypy/dist/pypy/objspace/std/test/test_userobject.py
Log:
Some obscure test. People rely on this.


Modified: pypy/dist/pypy/objspace/std/test/test_userobject.py
==============================================================================
--- pypy/dist/pypy/objspace/std/test/test_userobject.py	(original)
+++ pypy/dist/pypy/objspace/std/test/test_userobject.py	Tue Jun 10 07:22:30 2008
@@ -207,6 +207,11 @@
         s = repr(Foo())
         assert s.startswith('<a.b.c.Foo object at ')
 
+    def test_obscure(self):
+        skip("Too obscure")
+        class Foo(object):
+            locals()[42] = 98
+        # assert did not crash
 
 class AppTestWithMultiMethodVersion2(AppTestUserObject):
     OPTIONS = {}    # for test_builtinshortcut.py



More information about the Pypy-commit mailing list