Kaydet (Commit) ddf3bc90 authored tarafından Victor Stinner's avatar Victor Stinner

Issue #22685, asyncio: mock also resume_reading in test_pause_reading()

üst bb44fe0a
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment