Issue #22685, asyncio: mock also resume_reading in test_pause_reading()
This commit is contained in:
parent
bb44fe0a0b
commit
ddf3bc9078
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue