(self)
| 22 | "Lock object is not initialized unlocked.") |
| 23 | |
| 24 | def test_release(self): |
| 25 | # Test self.lock.release() |
| 26 | self.lock.acquire() |
| 27 | self.lock.release() |
| 28 | self.assertFalse(self.lock.locked(), |
| 29 | "Lock object did not release properly.") |
| 30 | |
| 31 | def test_LockType_context_manager(self): |
| 32 | with _thread.LockType(): |
nothing calls this directly
no test coverage detected