()
| 482 | error: BaseException | None = None |
| 483 | |
| 484 | async def acquire_other() -> None: |
| 485 | nonlocal error |
| 486 | lock2 = lock_type(lock_path, timeout=0) |
| 487 | try: |
| 488 | await lock2.acquire() |
| 489 | except BaseException as exc: |
| 490 | error = exc |
| 491 | |
| 492 | await asyncio.create_task(acquire_other()) |
| 493 | await lock1.release() |
no test coverage detected