(self)
| 495 | self.boilerPlate(lock, locked) |
| 496 | |
| 497 | def testWithBoundedSemaphore(self): |
| 498 | lock = threading.BoundedSemaphore() |
| 499 | def locked(): |
| 500 | if lock.acquire(False): |
| 501 | lock.release() |
| 502 | return False |
| 503 | else: |
| 504 | return True |
| 505 | self.boilerPlate(lock, locked) |
| 506 | |
| 507 | |
| 508 | class mycontext(ContextDecorator): |
nothing calls this directly
no test coverage detected