()
| 277 | # Runs multiple threads, which acquire the same lock file with a different FileLock object. When thread group 1 |
| 278 | # acquired the lock, thread group 2 must not hold their lock. |
| 279 | def t_1() -> None: |
| 280 | for _ in range(1000): |
| 281 | with lock_1: |
| 282 | assert lock_1.is_locked |
| 283 | assert not lock_2.is_locked |
| 284 | |
| 285 | def t_2() -> None: |
| 286 | for _ in range(1000): |
nothing calls this directly
no outgoing calls
no test coverage detected