()
| 399 | |
| 400 | |
| 401 | def test_SerializableLock_name_collision(): |
| 402 | a = SerializableLock("a") |
| 403 | b = SerializableLock("b") |
| 404 | c = SerializableLock("a") |
| 405 | d = SerializableLock() |
| 406 | |
| 407 | assert a.lock is not b.lock |
| 408 | assert a.lock is c.lock |
| 409 | assert d.lock not in (a.lock, b.lock, c.lock) |
| 410 | |
| 411 | |
| 412 | def test_SerializableLock_locked(): |
nothing calls this directly
no test coverage detected