Skip to content

Commit 1d59fee

Browse files
committed
Merge 3.5 (Issue #23630, fix test_asyncio)
1 parent ca0d038 commit 1d59fee

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Lib/test/test_asyncio/test_events.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,7 @@ def getaddrinfo_task(*args, **kwds):
764764
for host in hosts]
765765
self.loop.getaddrinfo = getaddrinfo_task
766766
self.loop._start_serving = mock.Mock()
767+
self.loop._stop_serving = mock.Mock()
767768
f = self.loop.create_server(lambda: MyProto(self.loop), hosts, 80)
768769
server = self.loop.run_until_complete(f)
769770
self.addCleanup(server.close)

0 commit comments

Comments
 (0)