Commit 4354ab03 authored by Guido Trotter's avatar Guido Trotter
Browse files

SharedLock: fix a wrong unit-test helper code

The _doItDelete helper code was supposed to be used to dispatch threads that
deleted the SharedLock. It actually just acquired it exclusively. This remained
unnoticed as the helper thread is just used to test interaction, not the delete
code by itself, and delete requires an exclusive acquire anyway.

Reviewed-by: imsnah
parent 00ce8b29
......@@ -104,9 +104,8 @@ class TestSharedLock(unittest.TestCase):
def _doItDelete(self):
except errors.LockError:
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