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

ludal at codespeak.net ludal at codespeak.net
Thu Aug 25 11:04:17 CEST 2005


Author: ludal
Date: Thu Aug 25 11:04:15 2005
New Revision: 16444

Modified:
   pypy/dist/pypy/objspace/std/test/test_typeobject.py
Log:
 - we now have the __doc__ attribute in the class __dict__ so change the test


Modified: pypy/dist/pypy/objspace/std/test/test_typeobject.py
==============================================================================
--- pypy/dist/pypy/objspace/std/test/test_typeobject.py	(original)
+++ pypy/dist/pypy/objspace/std/test/test_typeobject.py	Thu Aug 25 11:04:15 2005
@@ -321,7 +321,7 @@
         class C:
             __metaclass__ = T
         assert d
-        assert sorted(d[0].keys()) == ['__dict__','__metaclass__','__module__']
+        assert sorted(d[0].keys()) == ['__dict__','__doc__','__metaclass__','__module__']
         d = []
         class T(type):
             def mro(cls):



More information about the Pypy-commit mailing list