[Zope3-checkins] CVS: Zope3/src/zope/app/renderer/tests - test_vocabulary.py:1.2

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


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

Modified Files:
	test_vocabulary.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/renderer/tests/test_vocabulary.py 1.1 => 1.2 ===
--- Zope3/src/zope/app/renderer/tests/test_vocabulary.py:1.1	Thu Jul 31 14:48:42 2003
+++ Zope3/src/zope/app/renderer/tests/test_vocabulary.py	Thu Nov 27 08:59:24 2003
@@ -59,7 +59,7 @@
 class SourceTypeVocabularyTest(PlacelessSetup, unittest.TestCase):
 
     def setUp(self):
-        PlacelessSetup.setUp(self)
+        super(SourceTypeVocabularyTest, self).setUp()
         defineService("SourceTypeRegistry", IGlobalSourceTypeService)
         serviceManager.provideService("SourceTypeRegistry", SourceTypes)
         SourceTypes._clear()




More information about the Zope3-Checkins mailing list