Spaces:
Runtime error
Runtime error
File size: 207 Bytes
6392732 | 1 2 3 4 5 6 7 8 9 10 11 | from server import process, lock
import pytest
@pytest.mark.asyncio
async def test_deadlock_fixed():
try:
await process()
except TimeoutError:
pass
assert lock.locked() == False
|