summaryrefslogtreecommitdiff
path: root/Lib/test/test_asyncio/test_base_events.py
diff options
context:
space:
mode:
authorYurii Karabas <1998uriyyo@gmail.com>2020-11-26 09:36:37 +0200
committerGitHub <noreply@github.com>2020-11-26 09:36:37 +0200
commitf533cb80cbbb7acdf9ce1978cfba095ce5eeedaa (patch)
treee088f2a33fdba27f04b40d5380b1884a526bbe78 /Lib/test/test_asyncio/test_base_events.py
parent87f7ab5359bc12eeb858272b7bd58e132cb9c176 (diff)
downloadcpython-git-f533cb80cbbb7acdf9ce1978cfba095ce5eeedaa.tar.gz
bpo-42392: Remove loop parameter from asyncio.streams (GH-23517)
Diffstat (limited to 'Lib/test/test_asyncio/test_base_events.py')
-rw-r--r--Lib/test/test_asyncio/test_base_events.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/Lib/test/test_asyncio/test_base_events.py b/Lib/test/test_asyncio/test_base_events.py
index f74dabc2db..8d048c87d0 100644
--- a/Lib/test/test_asyncio/test_base_events.py
+++ b/Lib/test/test_asyncio/test_base_events.py
@@ -1160,9 +1160,7 @@ class BaseEventLoopWithSelectorTests(test_utils.TestCase):
@unittest.skipUnless(socket_helper.IPV6_ENABLED, 'no IPv6 support')
def test_create_server_ipv6(self):
async def main():
- with self.assertWarns(DeprecationWarning):
- srv = await asyncio.start_server(
- lambda: None, '::1', 0, loop=self.loop)
+ srv = await asyncio.start_server(lambda: None, '::1', 0)
try:
self.assertGreater(len(srv.sockets), 0)
finally: