diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-09-21 20:29:30 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-09-21 20:29:30 (GMT) |
commit | e355604447a09b5c6e004abacda599105978313c (patch) | |
tree | 8f21d9649a7ec7d16345b6ef3eafa65ac3314be6 /Lib/test/test_asyncio | |
parent | e63f1a65ed1541ef09b18ca8077bd199322f7bf1 (diff) | |
parent | 582b17c2c5b876fe62cd22101540d907747069a9 (diff) | |
download | cpython-e355604447a09b5c6e004abacda599105978313c.zip cpython-e355604447a09b5c6e004abacda599105978313c.tar.gz cpython-e355604447a09b5c6e004abacda599105978313c.tar.bz2 |
Merge 3.4 (Issue #23630, fix test_asyncio)
Diffstat (limited to 'Lib/test/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 3488101..9801d22 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) |