Commit 1978a083 authored by Denis Bilenko's avatar Denis Bilenko

minor additions to the test

parent 68c06926
......@@ -3,6 +3,7 @@ import threading
localdata = threading.local()
localdata.x = "hello"
assert localdata.x == 'hello'
success = []
......@@ -19,3 +20,4 @@ t = threading.Thread(None, func)
t.start()
t.join()
assert success == [1], 'test failed'
assert localdata.x == 'hello'
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