[Zope3-checkins] CVS: Zope3/src/zope/testing - cleanup.py:1.6

Stephan Richter srichter at cosmos.phy.tufts.edu
Fri Feb 13 17:28:23 EST 2004


Update of /cvs-repository/Zope3/src/zope/testing
In directory cvs.zope.org:/tmp/cvs-serv9909/src/zope/testing

Modified Files:
	cleanup.py 
Log Message:
doc string cleanup and direct inheritance from object.


=== Zope3/src/zope/testing/cleanup.py 1.5 => 1.6 ===
--- Zope3/src/zope/testing/cleanup.py:1.5	Tue Jan 20 16:23:16 2004
+++ Zope3/src/zope/testing/cleanup.py	Fri Feb 13 17:28:22 2004
@@ -35,12 +35,8 @@
   addCleanUp(pigRegistry._clear)
 
 
-Revision information:
 $Id$
 """
-
-__metaclass__ = type
-
 _cleanups = []
 
 def addCleanUp(func, args=(), kw={}):
@@ -51,7 +47,7 @@
     """
     _cleanups.append((func, args, kw))
 
-class CleanUp:
+class CleanUp(object):
     """Mix-in class providing clean-up setUp and tearDown routines."""
 
     def cleanUp(self):




More information about the Zope3-Checkins mailing list