Spaces:
Runtime error
Runtime error
Download src/jira_to_code/tasks/hard_7/test_server.py from Navigam/jira-to-code: direct link, hf CLI and curl.
- Browser
- Download file 207 Bytes
-
https://huggingface.co/spaces/Navigam/jira-to-code/resolve/main/src/jira_to_code/tasks/hard_7/test_server.py
- Command line
-
hf download hf://spaces/Navigam/jira-to-code/src/jira_to_code/tasks/hard_7/test_server.py
-
curl -L -o test_server.py https://huggingface.co/spaces/Navigam/jira-to-code/resolve/main/src/jira_to_code/tasks/hard_7/test_server.py
207 Bytes
| from server import process, lock | |
| import pytest | |
| async def test_deadlock_fixed(): | |
| try: | |
| await process() | |
| except TimeoutError: | |
| pass | |
| assert lock.locked() == False | |