lib-python/2.7/test/test_subprocess.py::unmodified
test_call_kwargs (test.test_subprocess.ProcessTestCase) ... ok
test_call_seq (test.test_subprocess.ProcessTestCase) ... ok
test_check_call_nonzero (test.test_subprocess.ProcessTestCase) ... ok
test_check_call_zero (test.test_subprocess.ProcessTestCase) ... ok
test_check_output (test.test_subprocess.ProcessTestCase) ... ok
test_check_output_nonzero (test.test_subprocess.ProcessTestCase) ... ok
test_check_output_stderr (test.test_subprocess.ProcessTestCase) ... ok
test_check_output_stdout_arg (test.test_subprocess.ProcessTestCase) ... ok
test_communicate (test.test_subprocess.ProcessTestCase) ... ok
test_communicate_epipe (test.test_subprocess.ProcessTestCase) ... ok
test_communicate_epipe_only_stdin (test.test_subprocess.ProcessTestCase) ... ok
test_communicate_pipe_buf (test.test_subprocess.ProcessTestCase) ... ok
test_communicate_pipe_fd_leak (test.test_subprocess.ProcessTestCase) ... skipped 'Linux specific'
test_communicate_returns (test.test_subprocess.ProcessTestCase) ... ok
test_communicate_stderr (test.test_subprocess.ProcessTestCase) ... ok
test_communicate_stdin (test.test_subprocess.ProcessTestCase) ... ok
test_communicate_stdout (test.test_subprocess.ProcessTestCase) ... ok
test_cwd (test.test_subprocess.ProcessTestCase) ... ok
test_double_close_on_error (test.test_subprocess.ProcessTestCase) ... ok
test_env (test.test_subprocess.ProcessTestCase) ... ok
test_executable_with_cwd (test.test_subprocess.ProcessTestCase) ... ok
test_executable_without_cwd (test.test_subprocess.ProcessTestCase) ... ok
test_failed_child_execute_fd_leak (test.test_subprocess.ProcessTestCase)
Test for the fork() failure fd leak reported in issue16327. ... skipped 'Linux specific'
test_handles_closed_on_exception (test.test_subprocess.ProcessTestCase) ... ok
test_invalid_args (test.test_subprocess.ProcessTestCase) ... ok
test_invalid_bufsize (test.test_subprocess.ProcessTestCase) ... ok
test_invalid_cmd (test.test_subprocess.ProcessTestCase) ... FAIL
test_invalid_env (test.test_subprocess.ProcessTestCase) ... ERROR
test_leaking_fds_on_error (test.test_subprocess.ProcessTestCase) ... ok
test_list2cmdline (test.test_subprocess.ProcessTestCase) ... ok
test_no_leaking (test.test_subprocess.ProcessTestCase) ... skipped 'failed to reach the file descriptor limit (tried 2050)'
test_poll (test.test_subprocess.ProcessTestCase) ... And now for something completely different: ``Evertime someone argues with
"Smalltalk has always done X", it is always a good hint that something needs
to be changed fast. - Marcus Denker''
>>>> ok
test_stderr_filedes (test.test_subprocess.ProcessTestCase) ... ok
test_stderr_fileobj (test.test_subprocess.ProcessTestCase) ... ok
test_stderr_none (test.test_subprocess.ProcessTestCase) ... ok
test_stderr_pipe (test.test_subprocess.ProcessTestCase) ... ok
test_stderr_redirect_with_no_stdout_redirect (test.test_subprocess.ProcessTestCase) ... ok
test_stdin_filedes (test.test_subprocess.ProcessTestCase) ... ok
test_stdin_fileobj (test.test_subprocess.ProcessTestCase) ... ok
test_stdin_none (test.test_subprocess.ProcessTestCase) ... ok
test_stdin_pipe (test.test_subprocess.ProcessTestCase) ... ok
test_stdout_filedes (test.test_subprocess.ProcessTestCase) ... ok
test_stdout_filedes_of_stdout (test.test_subprocess.ProcessTestCase) ... ok
test_stdout_fileobj (test.test_subprocess.ProcessTestCase) ... ok
test_stdout_none (test.test_subprocess.ProcessTestCase) ... ok
test_stdout_pipe (test.test_subprocess.ProcessTestCase) ... ok
test_stdout_stderr_file (test.test_subprocess.ProcessTestCase) ... ok
test_stdout_stderr_pipe (test.test_subprocess.ProcessTestCase) ... ok
test_universal_newlines (test.test_subprocess.ProcessTestCase) ... ok
test_universal_newlines_communicate (test.test_subprocess.ProcessTestCase) ... ok
test_wait (test.test_subprocess.ProcessTestCase) ... ok
test_writes_before_communicate (test.test_subprocess.ProcessTestCase) ... ok
test_args_string (test.test_subprocess.POSIXProcessTestCase) ... skipped 'POSIX specific tests'
test_call_string (test.test_subprocess.POSIXProcessTestCase) ... skipped 'POSIX specific tests'
test_close_fd_0 (test.test_subprocess.POSIXProcessTestCase) ... skipped 'POSIX specific tests'
test_close_fd_1 (test.test_subprocess.POSIXProcessTestCase) ... skipped 'POSIX specific tests'
test_close_fd_2 (test.test_subprocess.POSIXProcessTestCase) ... skipped 'POSIX specific tests'
test_close_fds_0_1 (test.test_subprocess.POSIXProcessTestCase) ... skipped 'POSIX specific tests'
test_close_fds_0_1_2 (test.test_subprocess.POSIXProcessTestCase) ... skipped 'POSIX specific tests'
test_close_fds_0_2 (test.test_subprocess.POSIXProcessTestCase) ... skipped 'POSIX specific tests'
test_close_fds_1_2 (test.test_subprocess.POSIXProcessTestCase) ... skipped 'POSIX specific tests'
test_exceptions (test.test_subprocess.POSIXProcessTestCase) ... skipped 'POSIX specific tests'
test_invalid_args (test.test_subprocess.POSIXProcessTestCase) ... skipped 'POSIX specific tests'
test_kill (test.test_subprocess.POSIXProcessTestCase) ... skipped 'POSIX specific tests'
test_kill_dead (test.test_subprocess.POSIXProcessTestCase) ... skipped 'POSIX specific tests'
test_leak_fast_process_del_killed (test.test_subprocess.POSIXProcessTestCase) ... skipped 'POSIX specific tests'
test_pipe_cloexec (test.test_subprocess.POSIXProcessTestCase) ... skipped 'POSIX specific tests'
test_preexec (test.test_subprocess.POSIXProcessTestCase) ... skipped 'POSIX specific tests'
test_preexec_errpipe_does_not_double_close_pipes (test.test_subprocess.POSIXProcessTestCase)
Issue16140: Don't double close pipes on preexec error. ... skipped 'POSIX specific tests'
test_run_abort (test.test_subprocess.POSIXProcessTestCase) ... skipped 'POSIX specific tests'
test_send_signal (test.test_subprocess.POSIXProcessTestCase) ... skipped 'POSIX specific tests'
test_send_signal_dead (test.test_subprocess.POSIXProcessTestCase) ... skipped 'POSIX specific tests'
test_shell_sequence (test.test_subprocess.POSIXProcessTestCase) ... skipped 'POSIX specific tests'
test_shell_string (test.test_subprocess.POSIXProcessTestCase) ... skipped 'POSIX specific tests'
test_specific_shell (test.test_subprocess.POSIXProcessTestCase) ... skipped 'POSIX specific tests'
test_stopped (test.test_subprocess.POSIXProcessTestCase)
Test wait() behavior when waitpid returns WIFSTOPPED; issue29335. ... skipped 'POSIX specific tests'
test_swap_fds (test.test_subprocess.POSIXProcessTestCase) ... skipped 'POSIX specific tests'
test_terminate (test.test_subprocess.POSIXProcessTestCase) ... skipped 'POSIX specific tests'
test_terminate_dead (test.test_subprocess.POSIXProcessTestCase) ... skipped 'POSIX specific tests'
test_wait_when_sigchild_ignored (test.test_subprocess.POSIXProcessTestCase) ... skipped 'POSIX specific tests'
test_zombie_fast_process_del (test.test_subprocess.POSIXProcessTestCase) ... skipped 'POSIX specific tests'
test_call_string (test.test_subprocess.Win32ProcessTestCase) ... ok
test_close_fds (test.test_subprocess.Win32ProcessTestCase) ... ok
test_creationflags (test.test_subprocess.Win32ProcessTestCase) ... ok
test_invalid_args (test.test_subprocess.Win32ProcessTestCase) ... ok
test_kill (test.test_subprocess.Win32ProcessTestCase) ... ok
test_kill_dead (test.test_subprocess.Win32ProcessTestCase) ... ok
test_send_signal (test.test_subprocess.Win32ProcessTestCase) ... ok
test_send_signal_dead (test.test_subprocess.Win32ProcessTestCase) ... ok
test_shell_sequence (test.test_subprocess.Win32ProcessTestCase) ... ok
test_shell_string (test.test_subprocess.Win32ProcessTestCase) ... ok
test_startupinfo (test.test_subprocess.Win32ProcessTestCase) ... ok
test_terminate (test.test_subprocess.Win32ProcessTestCase) ... ok
test_terminate_dead (test.test_subprocess.Win32ProcessTestCase) ... ok
test_call_kwargs (test.test_subprocess.ProcessTestCaseNoPoll) ... skipped 'poll system call not supported'
test_call_seq (test.test_subprocess.ProcessTestCaseNoPoll) ... skipped 'poll system call not supported'
test_check_call_nonzero (test.test_subprocess.ProcessTestCaseNoPoll) ... skipped 'poll system call not supported'
test_check_call_zero (test.test_subprocess.ProcessTestCaseNoPoll) ... skipped 'poll system call not supported'
test_check_output (test.test_subprocess.ProcessTestCaseNoPoll) ... skipped 'poll system call not supported'
test_check_output_nonzero (test.test_subprocess.ProcessTestCaseNoPoll) ... skipped 'poll system call not supported'
test_check_output_stderr (test.test_subprocess.ProcessTestCaseNoPoll) ... skipped 'poll system call not supported'
test_check_output_stdout_arg (test.test_subprocess.ProcessTestCaseNoPoll) ... skipped 'poll system call not supported'
test_communicate (test.test_subprocess.ProcessTestCaseNoPoll) ... skipped 'poll system call not supported'
test_communicate_epipe (test.test_subprocess.ProcessTestCaseNoPoll) ... skipped 'poll system call not supported'
test_communicate_epipe_only_stdin (test.test_subprocess.ProcessTestCaseNoPoll) ... skipped 'poll system call not supported'
test_communicate_pipe_buf (test.test_subprocess.ProcessTestCaseNoPoll) ... skipped 'poll system call not supported'
test_communicate_pipe_fd_leak (test.test_subprocess.ProcessTestCaseNoPoll) ... skipped 'poll system call not supported'
test_communicate_returns (test.test_subprocess.ProcessTestCaseNoPoll) ... skipped 'poll system call not supported'
test_communicate_stderr (test.test_subprocess.ProcessTestCaseNoPoll) ... skipped 'poll system call not supported'
test_communicate_stdin (test.test_subprocess.ProcessTestCaseNoPoll) ... skipped 'poll system call not supported'
test_communicate_stdout (test.test_subprocess.ProcessTestCaseNoPoll) ... skipped 'poll system call not supported'
test_cwd (test.test_subprocess.ProcessTestCaseNoPoll) ... skipped 'poll system call not supported'
test_double_close_on_error (test.test_subprocess.ProcessTestCaseNoPoll) ... skipped 'poll system call not supported'
test_env (test.test_subprocess.ProcessTestCaseNoPoll) ... skipped 'poll system call not supported'
test_executable_with_cwd (test.test_subprocess.ProcessTestCaseNoPoll) ... skipped 'poll system call not supported'
test_executable_without_cwd (test.test_subprocess.ProcessTestCaseNoPoll) ... skipped 'poll system call not supported'
test_failed_child_execute_fd_leak (test.test_subprocess.ProcessTestCaseNoPoll)
Test for the fork() failure fd leak reported in issue16327. ... skipped 'poll system call not supported'
test_handles_closed_on_exception (test.test_subprocess.ProcessTestCaseNoPoll) ... skipped 'poll system call not supported'
test_invalid_args (test.test_subprocess.ProcessTestCaseNoPoll) ... skipped 'poll system call not supported'
test_invalid_bufsize (test.test_subprocess.ProcessTestCaseNoPoll) ... skipped 'poll system call not supported'
test_invalid_cmd (test.test_subprocess.ProcessTestCaseNoPoll) ... skipped 'poll system call not supported'
test_invalid_env (test.test_subprocess.ProcessTestCaseNoPoll) ... skipped 'poll system call not supported'
test_leaking_fds_on_error (test.test_subprocess.ProcessTestCaseNoPoll) ... skipped 'poll system call not supported'
test_list2cmdline (test.test_subprocess.ProcessTestCaseNoPoll) ... skipped 'poll system call not supported'
test_no_leaking (test.test_subprocess.ProcessTestCaseNoPoll) ... skipped 'poll system call not supported'
test_poll (test.test_subprocess.ProcessTestCaseNoPoll) ... skipped 'poll system call not supported'
test_stderr_filedes (test.test_subprocess.ProcessTestCaseNoPoll) ... skipped 'poll system call not supported'
test_stderr_fileobj (test.test_subprocess.ProcessTestCaseNoPoll) ... skipped 'poll system call not supported'
test_stderr_none (test.test_subprocess.ProcessTestCaseNoPoll) ... skipped 'poll system call not supported'
test_stderr_pipe (test.test_subprocess.ProcessTestCaseNoPoll) ... skipped 'poll system call not supported'
test_stderr_redirect_with_no_stdout_redirect (test.test_subprocess.ProcessTestCaseNoPoll) ... skipped 'poll system call not supported'
test_stdin_filedes (test.test_subprocess.ProcessTestCaseNoPoll) ... skipped 'poll system call not supported'
test_stdin_fileobj (test.test_subprocess.ProcessTestCaseNoPoll) ... skipped 'poll system call not supported'
test_stdin_none (test.test_subprocess.ProcessTestCaseNoPoll) ... skipped 'poll system call not supported'
test_stdin_pipe (test.test_subprocess.ProcessTestCaseNoPoll) ... skipped 'poll system call not supported'
test_stdout_filedes (test.test_subprocess.ProcessTestCaseNoPoll) ... skipped 'poll system call not supported'
test_stdout_filedes_of_stdout (test.test_subprocess.ProcessTestCaseNoPoll) ... skipped 'poll system call not supported'
test_stdout_fileobj (test.test_subprocess.ProcessTestCaseNoPoll) ... skipped 'poll system call not supported'
test_stdout_none (test.test_subprocess.ProcessTestCaseNoPoll) ... skipped 'poll system call not supported'
test_stdout_pipe (test.test_subprocess.ProcessTestCaseNoPoll) ... skipped 'poll system call not supported'
test_stdout_stderr_file (test.test_subprocess.ProcessTestCaseNoPoll) ... skipped 'poll system call not supported'
test_stdout_stderr_pipe (test.test_subprocess.ProcessTestCaseNoPoll) ... skipped 'poll system call not supported'
test_universal_newlines (test.test_subprocess.ProcessTestCaseNoPoll) ... skipped 'poll system call not supported'
test_universal_newlines_communicate (test.test_subprocess.ProcessTestCaseNoPoll) ... skipped 'poll system call not supported'
test_wait (test.test_subprocess.ProcessTestCaseNoPoll) ... skipped 'poll system call not supported'
test_writes_before_communicate (test.test_subprocess.ProcessTestCaseNoPoll) ... skipped 'poll system call not supported'
test_eintr_retry_call (test.test_subprocess.HelperFunctionTests) ... skipped 'errno and EINTR make no sense on windows'
test_noshell_sequence_with_spaces (test.test_subprocess.CommandsWithSpaces) ... ok
test_noshell_string_with_spaces (test.test_subprocess.CommandsWithSpaces) ... ok
test_shell_sequence_with_spaces (test.test_subprocess.CommandsWithSpaces) ... ok
test_shell_string_with_spaces (test.test_subprocess.CommandsWithSpaces) ... ok
======================================================================
ERROR: test_invalid_env (test.test_subprocess.ProcessTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\2.7\test\test_subprocess.py", line 413, in test_invalid_env
subprocess.Popen([sys.executable, "-c", "pass"], env=newenv)
File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\2.7\subprocess.py", line 409, in __init__
errread, errwrite)
File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\2.7\subprocess.py", line 674, in _execute_child
startupinfo)
File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib_pypy\_subprocess.py", line 123, in CreateProcess
raise _WinError()
File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib_pypy\_subprocess.py", line 23, in _WinError
raise WindowsError(code, message)
WindowsError: [Error 87] The parameter is incorrect
======================================================================
FAIL: test_invalid_cmd (test.test_subprocess.ProcessTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\2.7\test\test_subprocess.py", line 402, in test_invalid_cmd
subprocess.Popen([cmd, "-c", "pass"])
AssertionError: TypeError not raised
----------------------------------------------------------------------
Ran 151 tests in 34.703s
FAILED (failures=1, errors=1, skipped=85)
Python 2.7.18 (ef6841b8d2ca, May 29 2026, 07:01:17)
[PyPy 7.3.23-alpha0 with MSC v.1941 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
a DOS box should flash briefly ...
Traceback (most recent call last):
File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\pypy\tool\pytest\run-script\regrverbose.py", line 14, in <module>
indirect_test()
File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\2.7\test\test_subprocess.py", line 1525, in test_main
test_support.run_unittest(*unit_tests)
File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\2.7\test\support\__init__.py", line 1687, in run_unittest
_run_suite(suite)
File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\2.7\test\support\__init__.py", line 1578, in _run_suite
raise TestFailed(err)
TestFailed: multiple errors occurred
builder: pypy-c-jit-win-x86-64 build #2372+
test: lib-python/2.7/test/test_subprocess.py::unmodified