(self)
| 39 | self.assertRaises(RuntimeError, self.lock.release) |
| 40 | |
| 41 | def test_cond_acquire_success(self): |
| 42 | #Make sure the conditional acquiring of the lock works. |
| 43 | self.assertTrue(self.lock.acquire(0), |
| 44 | "Conditional acquiring of the lock failed.") |
| 45 | |
| 46 | def test_cond_acquire_fail(self): |
| 47 | #Test acquiring locked lock returns False |
nothing calls this directly
no test coverage detected