commit | a62cbf7cce9ac3e105f587c73b41f7b70d91bb3c | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Wed Oct 13 23:48:39 2010 +0000 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Wed Oct 13 23:48:39 2010 +0000 |
tree | 40513e8eb023f2f2f9f703aee82df4c9de7cbf11 | |
parent | d24fc5d7c4baed7b0abcf49f06e3030ca61692f7 [diff] |
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.