[Python-checkins] python/dist/src/Lib/test test_threading_local.py,
1.1, 1.2
dcjim at users.sourceforge.net
dcjim at users.sourceforge.net
Sat Aug 28 16:58:34 CEST 2004
Update of /cvsroot/python/python/dist/src/Lib/test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19674/Lib/test
Modified Files:
test_threading_local.py
Log Message:
setUp and tearDown functions are now passed the test object
Index: test_threading_local.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_threading_local.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- test_threading_local.py 14 Jul 2004 19:07:15 -0000 1.1
+++ test_threading_local.py 28 Aug 2004 14:58:31 -0000 1.2
@@ -12,9 +12,9 @@
else:
import _threading_local
local_orig = _threading_local.local
- def setUp():
+ def setUp(test):
_threading_local.local = _local
- def tearDown():
+ def tearDown(test):
_threading_local.local = local_orig
suite.addTest(DocTestSuite('_threading_local',
setUp=setUp, tearDown=tearDown)
More information about the Python-checkins
mailing list