[Zope3-checkins] CVS: Zope3/src/zope/app/browser/form/complexsample/tests - test_widget.py:1.7

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


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

Modified Files:
	test_widget.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/form/complexsample/tests/test_widget.py 1.6 => 1.7 ===
--- Zope3/src/zope/app/browser/form/complexsample/tests/test_widget.py:1.6	Fri Nov 21 12:11:55 2003
+++ Zope3/src/zope/app/browser/form/complexsample/tests/test_widget.py	Thu Nov 27 08:59:12 2003
@@ -126,7 +126,7 @@
     """Base class for all test classes."""
 
     def setUp(self):
-        PlacelessSetup.setUp(self)
+        super(TestBase, self).setUp()
         # display
         ztapi.browserView(
             IVocabularyUniqueListField,




More information about the Zope3-Checkins mailing list