[Zope3-checkins] CVS: Zope3/src/zope/app/interpreter/tests - test_directives.py:1.3

Philipp von Weitershausen cvs-admin at zope.org
Thu Nov 27 08:59:52 EST 2003


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

Modified Files:
	test_directives.py 
Log Message:
Use super in test setUp methods. We can do this now because TestCase
(finally!) is a new-style class Python 2.3.


=== Zope3/src/zope/app/interpreter/tests/test_directives.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/interpreter/tests/test_directives.py:1.2	Thu Aug 21 10:19:25 2003
+++ Zope3/src/zope/app/interpreter/tests/test_directives.py	Thu Nov 27 08:59:21 2003
@@ -33,7 +33,7 @@
 class DirectivesTest(PlacelessSetup, unittest.TestCase):
 
     def setUp(self):
-        PlacelessSetup.setUp(self)
+        super(DirectivesTest, self).setUp()
         self.context = xmlconfig.file("interpreter.zcml", tests)
 
     def testRegisterInterpreter(self):




More information about the Zope3-Checkins mailing list