[Zope3-checkins] CVS: Zope3/src/zope/app/browser/container/tests - test_adding.py:1.13

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


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

Modified Files:
	test_adding.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/browser/container/tests/test_adding.py 1.12 => 1.13 ===
--- Zope3/src/zope/app/browser/container/tests/test_adding.py:1.12	Fri Nov 21 12:11:54 2003
+++ Zope3/src/zope/app/browser/container/tests/test_adding.py	Thu Nov 27 08:59:11 2003
@@ -80,7 +80,7 @@
 class Test(PlacelessSetup, TestCase):
 
     def setUp(self):
-        PlacelessSetup.setUp(self)
+        super(Test, self).setUp()
 
     def test(self):
         container = Container()




More information about the Zope3-Checkins mailing list