We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffce67b commit 8e2cb9eCopy full SHA for 8e2cb9e
tests/test_queue.py
@@ -332,7 +332,7 @@ async def test_map(self) -> None:
332
task.cancel()
333
334
async def test_map_timeout(self) -> None:
335
- with self.assertRaises(TimeoutError):
+ with self.assertRaises((TimeoutError, asyncio.CancelledError)):
336
await self.queue.map("echo", [{}], timeout=0.1)
337
338
async def test_poll_interval(self) -> None:
0 commit comments