[Zope3-checkins] CVS: Zope3/src/zope/app/security/grants/tests - test_annotationprincipalpermissionmanager.py:1.9

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


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

Modified Files:
	test_annotationprincipalpermissionmanager.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/security/grants/tests/test_annotationprincipalpermissionmanager.py 1.8 => 1.9 ===
--- Zope3/src/zope/app/security/grants/tests/test_annotationprincipalpermissionmanager.py:1.8	Fri Nov 21 12:12:11 2003
+++ Zope3/src/zope/app/security/grants/tests/test_annotationprincipalpermissionmanager.py	Thu Nov 27 08:59:25 2003
@@ -36,7 +36,7 @@
 class Test(PlacelessSetup, unittest.TestCase):
 
     def setUp(self):
-        PlacelessSetup.setUp(self)
+        super(Test, self).setUp()
         ztapi.provideAdapter(
             IAttributeAnnotatable, IAnnotations,
             AttributeAnnotations)




More information about the Zope3-Checkins mailing list