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