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

tismer at codespeak.net tismer at codespeak.net
Mon Mar 21 02:18:34 CET 2005


Author: tismer
Date: Mon Mar 21 02:18:34 2005
New Revision: 9979

Modified:
   pypy/dist/pypy/objspace/std/test/test_userobject.py
Log:
added test for userobject's base really being the subclassed type

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	Mon Mar 21 02:18:34 2005
@@ -35,6 +35,7 @@
                     raise
             else:
                 assert isinstance(stuff, base)
+                assert subclass.__base__ is base
 
     def test_subclasstuple(self):
         class subclass(tuple): pass



More information about the Pypy-commit mailing list