From: Jim Fulton Date: Sat, 28 Aug 2004 14:58:31 +0000 (+0000) Subject: setUp and tearDown functions are now passed the test object X-Git-Tag: v2.4a3~78 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9f556a408bfc0ea872cc2efbd86534ef46c5f42c;p=python setUp and tearDown functions are now passed the test object --- diff --git a/Lib/test/test_threading_local.py b/Lib/test/test_threading_local.py index 1258455241..56fbeddcc4 100644 --- a/Lib/test/test_threading_local.py +++ b/Lib/test/test_threading_local.py @@ -12,9 +12,9 @@ def test_main(): 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)