From 9f556a408bfc0ea872cc2efbd86534ef46c5f42c Mon Sep 17 00:00:00 2001 From: Jim Fulton Date: Sat, 28 Aug 2004 14:58:31 +0000 Subject: setUp and tearDown functions are now passed the test object --- Lib/test/test_threading_local.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/test/test_threading_local.py b/Lib/test/test_threading_local.py index 1258455..56fbedd 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) -- cgit v0.12