summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-11-28 21:37:16 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-11-28 21:37:16 (GMT)
commitddf3bc9078c674c6a6790e04ad222ddfe7c0dcbc (patch)
tree7c577df968784bddad62d1616491604323603443 /Lib
parentbb44fe0a0bf0b1688f95b3cce34a69d98a58e371 (diff)
downloadcpython-ddf3bc9078c674c6a6790e04ad222ddfe7c0dcbc.zip
cpython-ddf3bc9078c674c6a6790e04ad222ddfe7c0dcbc.tar.gz
cpython-ddf3bc9078c674c6a6790e04ad222ddfe7c0dcbc.tar.bz2
Issue #22685, asyncio: mock also resume_reading in test_pause_reading()
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_asyncio/test_subprocess.py1
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
index c84078d..fc557d7 100644
--- a/Lib/test/test_asyncio/test_subprocess.py
+++ b/Lib/test/test_asyncio/test_subprocess.py
@@ -181,6 +181,7 @@ class SubprocessMixin:
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()