[Checkins] SVN: grokcore.security/trunk/src/grokcore/security/tests/test_grok.py Remove unnecessary test setup

Philipp von Weitershausen philikon at philikon.de
Mon Jul 28 18:49:12 EDT 2008


Log message for revision 88936:
  Remove unnecessary test setup
  

Changed:
  U   grokcore.security/trunk/src/grokcore/security/tests/test_grok.py

-=-
Modified: grokcore.security/trunk/src/grokcore/security/tests/test_grok.py
===================================================================
--- grokcore.security/trunk/src/grokcore/security/tests/test_grok.py	2008-07-28 22:48:10 UTC (rev 88935)
+++ grokcore.security/trunk/src/grokcore/security/tests/test_grok.py	2008-07-28 22:49:11 UTC (rev 88936)
@@ -2,11 +2,7 @@
 import unittest
 from pkg_resources import resource_listdir
 from zope.testing import doctest, cleanup, renormalizing
-import zope.component.eventtesting
 
-def setUpZope(test):
-    zope.component.eventtesting.setUp(test)
-
 def cleanUpZope(test):
     cleanup.cleanUp()
 
@@ -31,7 +27,6 @@
 
         dottedname = 'grokcore.security.tests.%s.%s' % (name, filename[:-3])
         test = doctest.DocTestSuite(dottedname,
-                                    setUp=setUpZope,
                                     tearDown=cleanUpZope,
                                     checker=checker,
                                     optionflags=doctest.ELLIPSIS+



More information about the Checkins mailing list