[Python-checkins] cpython: Issue #22685, asyncio: mock also resume_reading in test_pause_reading()
victor.stinner
python-checkins at python.org
Fri Nov 28 22:40:13 CET 2014
https://hg.python.org/cpython/rev/0dd91298eb17
changeset: 93650:0dd91298eb17
user: Victor Stinner <victor.stinner at gmail.com>
date: Fri Nov 28 22:37:16 2014 +0100
summary:
Issue #22685, asyncio: mock also resume_reading in test_pause_reading()
files:
Lib/test/test_asyncio/test_subprocess.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/Lib/test/test_asyncio/test_subprocess.py b/Lib/test/test_asyncio/test_subprocess.py
--- a/Lib/test/test_asyncio/test_subprocess.py
+++ b/Lib/test/test_asyncio/test_subprocess.py
@@ -181,6 +181,7 @@
loop=self.loop)
stdout_transport = proc._transport.get_pipe_transport(1)
stdout_transport.pause_reading = mock.Mock()
+ stdout_transport.resume_reading = mock.Mock()
stdout, stderr = yield from proc.communicate()
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list