Kaydet (Commit) 1d59fee2 authored tarafından Victor Stinner's avatar Victor Stinner

Merge 3.5 (Issue #23630, fix test_asyncio)

üst ca0d0384
......@@ -764,6 +764,7 @@ class EventLoopTestsMixin:
for host in hosts]
self.loop.getaddrinfo = getaddrinfo_task
self.loop._start_serving = mock.Mock()
self.loop._stop_serving = mock.Mock()
f = self.loop.create_server(lambda: MyProto(self.loop), hosts, 80)
server = self.loop.run_until_complete(f)
self.addCleanup(server.close)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment