[pypy-svn] r7315 - pypy/trunk/src/pypy/objspace/std/test
bob at codespeak.net
bob at codespeak.net
Wed Nov 17 12:56:04 CET 2004
Author: bob
Date: Wed Nov 17 12:56:04 2004
New Revision: 7315
Modified:
pypy/trunk/src/pypy/objspace/std/test/test_typeobject.py
Log:
check in a failing test.. __metaclass__ seems to be missing from dicts sometimes
Modified: pypy/trunk/src/pypy/objspace/std/test/test_typeobject.py
==============================================================================
--- pypy/trunk/src/pypy/objspace/std/test/test_typeobject.py (original)
+++ pypy/trunk/src/pypy/objspace/std/test/test_typeobject.py Wed Nov 17 12:56:04 2004
@@ -98,7 +98,7 @@
else:
raise AssertionError, "this multiple inheritance should fail"
- def skip_test_metaclass(self):
+ def test_metaclass(self):
class OuterMetaClass(type):
pass
@@ -132,7 +132,6 @@
def mro(self):
return [self, object]
- #self.assertEquals(type(B_mro), B_mro.__metaclass__)
self.assertEquals(B_mro.__bases__, (A_mro,))
self.assertEquals(B_mro.__mro__, (B_mro, object))
self.assertEquals(B_mro.mro(), [B_mro, object])
More information about the Pypy-commit
mailing list