mirror of
https://github.com/python/cpython.git
synced 2025-08-28 12:45:07 +00:00
bpo-36373: Fix deprecation warnings (GH-15889)
https://bugs.python.org/issue36373
This commit is contained in:
parent
efd5741ae9
commit
7264e92b71
5 changed files with 12 additions and 12 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue