diff options
author | Jim Fulton <jim@zope.com> | 2004-08-28 14:58:31 (GMT) |
---|---|---|
committer | Jim Fulton <jim@zope.com> | 2004-08-28 14:58:31 (GMT) |
commit | 9f556a408bfc0ea872cc2efbd86534ef46c5f42c (patch) | |
tree | cc5257a79eef8ab38e2a3aab054ad5b84cdec1a2 /Lib | |
parent | f54bad4564d6216cd658ce1d93421d8d40f7a719 (diff) | |
download | cpython-9f556a408bfc0ea872cc2efbd86534ef46c5f42c.zip cpython-9f556a408bfc0ea872cc2efbd86534ef46c5f42c.tar.gz cpython-9f556a408bfc0ea872cc2efbd86534ef46c5f42c.tar.bz2 |
setUp and tearDown functions are now passed the test object
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_threading_local.py | 4 |
1 files 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) |