STINNER Victor added the comment: Oops, I forgot Windows. On Windows, we should maybe use stderr.fileno() and avoid pass_fds.
(Or maybe just skip the tests on Windows?) http://buildbot.python.org/all/builders/AMD64%20Windows7%20SP1%203.x/builds/5828/steps/test/logs/stdio ====================================================================== FAIL: test_dump_traceback_fd (test.test_faulthandler.FaultHandlerTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\test_faulthandler.py", line 378, in test_dump_traceback_fd self.check_dump_traceback(fd=fp.fileno()) File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\test_faulthandler.py", line 365, in check_dump_traceback trace, exitcode = self.get_output(code, filename, fd) File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\test_faulthandler.py", line 60, in get_output process = script_helper.spawn_python('-c', code, pass_fds=pass_fds) File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\script_helper.py", line 136, in spawn_python **kw) File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\subprocess.py", line 855, in __init__ restore_signals, start_new_session) File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\subprocess.py", line 1096, in _execute_child assert not pass_fds, "pass_fds not supported on Windows." AssertionError: pass_fds not supported on Windows. ====================================================================== FAIL: test_enable_fd (test.test_faulthandler.FaultHandlerTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\test_faulthandler.py", line 235, in test_enable_fd fd=fd) File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\test_faulthandler.py", line 106, in check_fatal_error output, exitcode = self.get_output(code, filename=filename, fd=fd) File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\test_faulthandler.py", line 60, in get_output process = script_helper.spawn_python('-c', code, pass_fds=pass_fds) File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\script_helper.py", line 136, in spawn_python **kw) File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\subprocess.py", line 855, in __init__ restore_signals, start_new_session) File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\subprocess.py", line 1096, in _execute_child assert not pass_fds, "pass_fds not supported on Windows." AssertionError: pass_fds not supported on Windows. ---------- resolution: fixed -> status: closed -> open _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue23566> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
