diff options
Diffstat (limited to 'Lib/test/test_asyncio/test_queues.py')
-rw-r--r-- | Lib/test/test_asyncio/test_queues.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/test_asyncio/test_queues.py b/Lib/test/test_asyncio/test_queues.py index 02e8e43..171176c 100644 --- a/Lib/test/test_asyncio/test_queues.py +++ b/Lib/test/test_asyncio/test_queues.py @@ -83,8 +83,7 @@ class QueueBasicTests(_QueueTestBase): def test_ctor_noloop(self): asyncio.set_event_loop(self.loop) - with self.assertWarns(DeprecationWarning): - q = asyncio.Queue() + q = asyncio.Queue() self.assertIs(q._loop, self.loop) def test_repr(self): |