Another test fix for windows

This commit is contained in:
Kovid Goyal 2013-08-06 12:41:47 +05:30
parent 2affa5bf4e
commit b458cf07c4

View File

@ -123,6 +123,7 @@ class TestLock(BaseTest):
lock.release()
self.assertFalse(lock.acquire(shared=False, blocking=False))
lock.acquire(shared=False)
shared.join(1)
self.assertFalse(shared.is_alive())
lock.release()
self.assertTrue(lock.acquire(shared=False, blocking=False))