[Zope3-checkins] CVS: Zope3/src/zope/app/fssync/tests - test_committer.py:1.11

Guido van Rossum guido@python.org
Tue, 3 Jun 2003 15:16:38 -0400


Update of /cvs-repository/Zope3/src/zope/app/fssync/tests
In directory cvs.zope.org:/tmp/cvs-serv8985

Modified Files:
	test_committer.py 
Log Message:
The cute "super" trick I used doesn't work with Python 2.2, so use
classic base class invocations.


=== Zope3/src/zope/app/fssync/tests/test_committer.py 1.10 => 1.11 ===
--- Zope3/src/zope/app/fssync/tests/test_committer.py:1.10	Tue Jun  3 13:08:53 2003
+++ Zope3/src/zope/app/fssync/tests/test_committer.py	Tue Jun  3 15:16:38 2003
@@ -497,16 +497,15 @@
     # repeated.  Big deal. :-)
 
     def __init__(self, name):
-        self.super = super(TestCommitterClass, self)
-        self.super.__init__(name)
+        TestCheckerClass.__init__(self, name)
         self.name = name
 
     def setUp(self):
-        self.super.setUp()
+        TestCheckerClass.setUp(self)
         self.committer = Committer(self.metadata)
 
     def check_no_errors(self):
-        self.super.check_no_errors()
+        TestCheckerClass.check_no_errors(self)
         self.committer.synch(self.parent, "", self.parentdir)
         name = "verify" + self.name[4:]
         method = getattr(self, name, None)