Skip to content

Commit 047e57c

Browse files
committed
Ignore coverage for another never-hit test line
1 parent 483553e commit 047e57c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/shared/test_pending_request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ async def cancellable_get_task(task_id: str):
499499
nonlocal get_task_cancelled
500500
try:
501501
await asyncio.sleep(10) # Will be cancelled
502-
return GetTaskResult(taskId=task_id, status="submitted", pollInterval=100)
502+
return GetTaskResult(taskId=task_id, status="submitted", pollInterval=100) # pragma: no cover
503503
except asyncio.CancelledError:
504504
get_task_cancelled = True
505505
raise

0 commit comments

Comments
 (0)