Kaydet (Commit) 9f556a40 authored tarafından Jim Fulton's avatar Jim Fulton

setUp and tearDown functions are now passed the test object

üst f54bad45
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment