mirror of
https://github.com/python/cpython.git
synced 2026-01-05 23:12:38 +00:00
Issue #22685, asyncio: mock also resume_reading in test_pause_reading()
This commit is contained in:
parent
bb44fe0a0b
commit
ddf3bc9078
1 changed files with 1 additions and 0 deletions
|
|
@ -181,6 +181,7 @@ def test_pause_reading():
|
|||
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()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue