test cleanup
authorStefan Behnel <scoder@users.berlios.de>
Wed, 3 Nov 2010 20:44:37 +0000 (21:44 +0100)
committerStefan Behnel <scoder@users.berlios.de>
Wed, 3 Nov 2010 20:44:37 +0000 (21:44 +0100)
tests/run/metaclass.pyx

index 78b3e40bf6a95998aaec73fdba40b5bb71e735f6..5687038216473baf46dd4679d61a62997aabe7a6 100644 (file)
@@ -1,12 +1,13 @@
-"""
->>> obj = Foo()
->>> obj.metaclass_was_here
-True
-"""
+
 class Base(type):
     def __new__(cls, name, bases, attrs):
         attrs['metaclass_was_here'] = True
         return type.__new__(cls, name, bases, attrs)
 
 class Foo(object):
+    """
+    >>> obj = Foo()
+    >>> obj.metaclass_was_here
+    True
+    """
     __metaclass__ = Base