[Zope3-checkins] SVN: Zope3/trunk/src/zope/component/testing.py setUp and tearDown used to allow the test argument to be ommitted.

Jim Fulton jim at zope.com
Tue Feb 15 20:04:30 EST 2005


Log message for revision 29152:
  setUp and tearDown used to allow the test argument to be ommitted.
  

Changed:
  U   Zope3/trunk/src/zope/component/testing.py

-=-
Modified: Zope3/trunk/src/zope/component/testing.py
===================================================================
--- Zope3/trunk/src/zope/component/testing.py	2005-02-15 22:00:45 UTC (rev 29151)
+++ Zope3/trunk/src/zope/component/testing.py	2005-02-16 01:04:30 UTC (rev 29152)
@@ -27,8 +27,8 @@
         super(PlacelessSetup, self).tearDown()
 
 
-def setUp(test):
+def setUp(test=None):
     cleanup.setUp()
 
-def tearDown(test):
+def tearDown(test=None):
     cleanup.tearDown()



More information about the Zope3-Checkins mailing list