]> granicus.if.org Git - python/commit
Fix (hopefully) occasional failures in test_threaded_import.
authorAntoine Pitrou <solipsis@pitrou.net>
Wed, 13 Oct 2010 23:48:39 +0000 (23:48 +0000)
committerAntoine Pitrou <solipsis@pitrou.net>
Wed, 13 Oct 2010 23:48:39 +0000 (23:48 +0000)
commita62cbf7cce9ac3e105f587c73b41f7b70d91bb3c
tree40513e8eb023f2f2f9f703aee82df4c9de7cbf11
parentd24fc5d7c4baed7b0abcf49f06e3030ca61692f7
Fix (hopefully) occasional failures in test_threaded_import.
`done` could be released multiple times because of concurrent
execution.  We convert it to an Event, where calling set()
multiple times is not a problem.
Lib/test/test_threaded_import.py