[issue26372] Popen.communicate not ignoring BrokenPipeError

Martin Panter report at bugs.python.org
Sat Jun 4 04:06:27 EDT 2016


Martin Panter added the comment:

Maybe use os.devnull instead of "/dev/null"?

http://buildbot.python.org/all/builders/AMD64%20Windows7%20SP1%203.x/builds/7728/steps/test/logs/stdio
======================================================================
ERROR: test_communicate_BrokenPipeError_stdin_flush (test.test_subprocess.ProcessTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\test_subprocess.py", line 1267, in test_communicate_BrokenPipeError_stdin_flush
    open('/dev/null', 'wb') as dev_null:
FileNotFoundError: [Errno 2] No such file or directory: '/dev/null'

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26372>
_______________________________________


More information about the Python-bugs-list mailing list