Commit fcc09bba authored by Michael W. Hudson's avatar Michael W. Hudson

Don't exit test_main() with the lock 'done' held -- there's no cleaner

way to guarantee a deadlock on the next call!

If I've inadvertently done some damage to this test, sorry (but I don't
think I have).
parent 782d8ffb
......@@ -51,6 +51,7 @@ def test_main(): # magic name! see above
done.acquire()
if verbose:
print "OK."
done.release()
if __name__ == "__main__":
test_main()
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