[pypy-svn] r4894 - pypy/branch/src-newobjectmodel/pypy/interpreter/test

mwh at codespeak.net mwh at codespeak.net
Fri Jun 4 09:45:56 CEST 2004


Author: mwh
Date: Fri Jun  4 09:45:56 2004
New Revision: 4894

Modified:
   pypy/branch/src-newobjectmodel/pypy/interpreter/test/test_class.py
Log:
these tests pass!


Modified: pypy/branch/src-newobjectmodel/pypy/interpreter/test/test_class.py
==============================================================================
--- pypy/branch/src-newobjectmodel/pypy/interpreter/test/test_class.py	(original)
+++ pypy/branch/src-newobjectmodel/pypy/interpreter/test/test_class.py	Fri Jun  4 09:45:56 2004
@@ -3,7 +3,6 @@
 
 
 class TestClassApp(testit.AppTestCase):
-
     
     def test_class(self):
         class C:
@@ -12,7 +11,7 @@
         c = C()
         self.assertEquals(c.__class__, C)
 
-    def dont_test_metaclass_explicit(self):
+    def test_metaclass_explicit(self):
         class M(type):
             pass
         class C:
@@ -21,7 +20,7 @@
         c = C()
         self.assertEquals(c.__class__, C)
 
-    def dont_test_metaclass_inherited(self):
+    def test_metaclass_inherited(self):
         class M(type):
             pass
         class B:
@@ -32,12 +31,14 @@
         c = C()
         self.assertEquals(c.__class__, C)
 
-    def dont_test_metaclass_global(self):
+    def test_metaclass_global(self):
         d = {}
         metatest_text = """
 class M(type):
     pass
+
 __metaclass__ = M
+
 class C:
     pass
 """



More information about the Pypy-commit mailing list