()
| 360 | try: |
| 361 | |
| 362 | async def acquire_and_capture(): |
| 363 | # Get the per-loop manager |
| 364 | per_loop_mgr = manager._get_loop_manager() |
| 365 | # Capture the lock object id before acquiring |
| 366 | async with per_loop_mgr._access_lock: |
| 367 | lock = per_loop_mgr._locks[session_id] |
| 368 | with lock_id_lock: |
| 369 | lock_ids.add(id(lock)) |
| 370 | async with manager.acquire_lock(session_id): |
| 371 | await asyncio.sleep(0.01) |
| 372 | |
| 373 | loop.run_until_complete(acquire_and_capture()) |
| 374 | finally: |
nothing calls this directly
no test coverage detected