diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-11-28 21:37:16 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-11-28 21:37:16 (GMT) |
commit | ddf3bc9078c674c6a6790e04ad222ddfe7c0dcbc (patch) | |
tree | 7c577df968784bddad62d1616491604323603443 /Lib | |
parent | bb44fe0a0bf0b1688f95b3cce34a69d98a58e371 (diff) | |
download | cpython-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.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 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() |