[Zope3-checkins] CVS: Zope3/src/zope/app/browser/services/tests - test_bundle.py:1.5

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


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

Modified Files:
	test_bundle.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/services/tests/test_bundle.py 1.4 => 1.5 ===
--- Zope3/src/zope/app/browser/services/tests/test_bundle.py:1.4	Sun Aug 17 02:05:57 2003
+++ Zope3/src/zope/app/browser/services/tests/test_bundle.py	Thu Nov 27 08:59:14 2003
@@ -49,7 +49,7 @@
 class TestBundleView(PlacelessSetup, unittest.TestCase):
 
     def setUp(self):
-        PlacelessSetup.setUp(self)
+        super(TestBundleView, self).setUp()
 
     def test_parseVersion(self):
         bv = BundleView(SampleClass(), None)




More information about the Zope3-Checkins mailing list