]> granicus.if.org Git - python/commit
Issue #22685: Fix test_pause_reading() of asyncio/test_subprocess
authorVictor Stinner <victor.stinner@gmail.com>
Thu, 15 Jan 2015 21:52:59 +0000 (22:52 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Thu, 15 Jan 2015 21:52:59 +0000 (22:52 +0100)
commitf716d8b7a53ee2ed3b6dc42f7f6b00ac211209d8
treee3e869e47259a968d24cb3f80b72f926bba24188
parent406204c8c2e2adb890b29210c905f6fc7164b397
Issue #22685: Fix test_pause_reading() of asyncio/test_subprocess

Override the connect_read_pipe() method of the loop to mock immediatly
pause_reading() and resume_reading() methods.

The test failed randomly on FreeBSD 9 buildbot and on Windows using trollius.
Lib/test/test_asyncio/test_subprocess.py