diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-09-21 22:29:43 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-09-21 22:29:43 +0200 |
commit | 1d59fee294d0bca792dacca4d5cc7dd21fedec95 (patch) | |
tree | c414d261ec182c6b4b3e1605ec565c4efc256852 | |
parent | ca0d0384adf8a2a65e008410025b7ad1a22cf1c6 (diff) | |
download | cpython-git-1d59fee294d0bca792dacca4d5cc7dd21fedec95.tar.gz |
Merge 3.5 (Issue #23630, fix test_asyncio)
-rw-r--r-- | Lib/test/test_asyncio/test_events.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_asyncio/test_events.py b/Lib/test/test_asyncio/test_events.py index 3488101689..9801d22223 100644 --- a/Lib/test/test_asyncio/test_events.py +++ b/Lib/test/test_asyncio/test_events.py @@ -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) |