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 0eba7c3 commit 7ed61e9Copy full SHA for 7ed61e9
Lib/test/test_asyncio/test_tasks.py
@@ -2613,7 +2613,8 @@ def done(self):
2613
self.assertEqual(asyncio.all_tasks(loop), set())
2614
self._register_task(task)
2615
2616
- self.assertEqual(asyncio.Task.all_tasks(loop), {task})
+ with self.assertWarns(PendingDeprecationWarning):
2617
+ self.assertEqual(asyncio.Task.all_tasks(loop), {task})
2618
self._unregister_task(task)
2619
2620
def test__enter_task(self):
0 commit comments