lib-python/3/test/test_subprocess.py::unmodified
== PyPy 3.11.15 (a0a2919ebcf6, Jul 09 2026, 03:58:26) [PyPy 8.0.0-alpha0 with MSC v.1941 64 bit (AMD64)]
== Windows-10-10.0.19045-SP0 little-endian
== Python build: release with_assert
== cwd: D:\SystemTemp\pytest\test_python_worker_5952æ
== CPU count: 2
== encodings: locale=ascii FS=utf-8
== resources (3): curses,gui,network
Using random seed: 417939294
0:00:00 Run 1 test sequentially
0:00:00 [1/1] test_subprocess
test_noshell_sequence_with_spaces (test.test_subprocess.CommandsWithSpaces.test_noshell_sequence_with_spaces) ... ok
test_noshell_string_with_spaces (test.test_subprocess.CommandsWithSpaces.test_noshell_string_with_spaces) ... ok
test_shell_sequence_with_spaces (test.test_subprocess.CommandsWithSpaces.test_shell_sequence_with_spaces) ... ok
test_shell_string_with_spaces (test.test_subprocess.CommandsWithSpaces.test_shell_string_with_spaces) ... ok
test_broken_pipe_cleanup (test.test_subprocess.ContextManagerTests.test_broken_pipe_cleanup)
Broken pipe error should not prevent wait() (Issue 21619) ... ok
test_communicate_stdin (test.test_subprocess.ContextManagerTests.test_communicate_stdin) ... ok
test_invalid_args (test.test_subprocess.ContextManagerTests.test_invalid_args) ... ok
test_pipe (test.test_subprocess.ContextManagerTests.test_pipe) ... ok
test_returncode (test.test_subprocess.ContextManagerTests.test_returncode) ... ok
test__all__ (test.test_subprocess.MiscTests.test__all__)
Ensure that __all__ is populated properly. ... ok
test_call_keyboardinterrupt_no_kill (test.test_subprocess.MiscTests.test_call_keyboardinterrupt_no_kill) ... ok
test_context_manager_keyboardinterrupt_no_kill (test.test_subprocess.MiscTests.test_context_manager_keyboardinterrupt_no_kill) ... ok
test_getoutput (test.test_subprocess.MiscTests.test_getoutput) ... ok
test_run_keyboardinterrupt_no_kill (test.test_subprocess.MiscTests.test_run_keyboardinterrupt_no_kill) ... ok
test_CalledProcessError_str_non_zero (test.test_subprocess.POSIXProcessTestCase.test_CalledProcessError_str_non_zero) ... skipped 'POSIX specific tests'
test_CalledProcessError_str_signal (test.test_subprocess.POSIXProcessTestCase.test_CalledProcessError_str_signal) ... skipped 'POSIX specific tests'
test_CalledProcessError_str_unknown_signal (test.test_subprocess.POSIXProcessTestCase.test_CalledProcessError_str_unknown_signal) ... skipped 'POSIX specific tests'
test_args_string (test.test_subprocess.POSIXProcessTestCase.test_args_string) ... skipped 'POSIX specific tests'
test_bytes_program (test.test_subprocess.POSIXProcessTestCase.test_bytes_program) ... skipped 'POSIX specific tests'
test_call_string (test.test_subprocess.POSIXProcessTestCase.test_call_string) ... skipped 'POSIX specific tests'
test_close_fd_0 (test.test_subprocess.POSIXProcessTestCase.test_close_fd_0) ... skipped 'POSIX specific tests'
test_close_fd_1 (test.test_subprocess.POSIXProcessTestCase.test_close_fd_1) ... skipped 'POSIX specific tests'
test_close_fd_2 (test.test_subprocess.POSIXProcessTestCase.test_close_fd_2) ... skipped 'POSIX specific tests'
test_close_fds (test.test_subprocess.POSIXProcessTestCase.test_close_fds) ... skipped 'POSIX specific tests'
test_close_fds_0_1 (test.test_subprocess.POSIXProcessTestCase.test_close_fds_0_1) ... skipped 'POSIX specific tests'
test_close_fds_0_1_2 (test.test_subprocess.POSIXProcessTestCase.test_close_fds_0_1_2) ... skipped 'POSIX specific tests'
test_close_fds_0_2 (test.test_subprocess.POSIXProcessTestCase.test_close_fds_0_2) ... skipped 'POSIX specific tests'
test_close_fds_1_2 (test.test_subprocess.POSIXProcessTestCase.test_close_fds_1_2) ... skipped 'POSIX specific tests'
test_close_fds_after_preexec (test.test_subprocess.POSIXProcessTestCase.test_close_fds_after_preexec) ... skipped 'POSIX specific tests'
test_close_fds_when_max_fd_is_lowered (test.test_subprocess.POSIXProcessTestCase.test_close_fds_when_max_fd_is_lowered)
Confirm that issue21618 is fixed (may fail under valgrind). ... skipped 'POSIX specific tests'
test_communicate_BrokenPipeError_stdin_close (test.test_subprocess.POSIXProcessTestCase.test_communicate_BrokenPipeError_stdin_close) ... skipped 'POSIX specific tests'
test_communicate_BrokenPipeError_stdin_close_with_timeout (test.test_subprocess.POSIXProcessTestCase.test_communicate_BrokenPipeError_stdin_close_with_timeout) ... skipped 'POSIX specific tests'
test_communicate_BrokenPipeError_stdin_flush (test.test_subprocess.POSIXProcessTestCase.test_communicate_BrokenPipeError_stdin_flush) ... skipped 'POSIX specific tests'
test_communicate_BrokenPipeError_stdin_write (test.test_subprocess.POSIXProcessTestCase.test_communicate_BrokenPipeError_stdin_write) ... skipped 'POSIX specific tests'
test_communicate_repeated_call_after_stdout_close (test.test_subprocess.POSIXProcessTestCase.test_communicate_repeated_call_after_stdout_close) ... skipped 'POSIX specific tests'
test_exception_bad_args_0 (test.test_subprocess.POSIXProcessTestCase.test_exception_bad_args_0)
Test error in the child raised in the parent for a bad args[0]. ... skipped 'POSIX specific tests'
test_exception_bad_executable (test.test_subprocess.POSIXProcessTestCase.test_exception_bad_executable)
Test error in the child raised in the parent for a bad executable. ... skipped 'POSIX specific tests'
test_exception_cwd (test.test_subprocess.POSIXProcessTestCase.test_exception_cwd)
Test error in the child raised in the parent for a bad cwd. ... skipped 'POSIX specific tests'
test_exception_errpipe_bad_data (test.test_subprocess.POSIXProcessTestCase.test_exception_errpipe_bad_data)
Test error passing done through errpipe_write where its not ... skipped 'POSIX specific tests'
test_exception_errpipe_normal (test.test_subprocess.POSIXProcessTestCase.test_exception_errpipe_normal)
Test error passing done through errpipe_write in the good case ... skipped 'POSIX specific tests'
test_extra_groups (test.test_subprocess.POSIXProcessTestCase.test_extra_groups) ... skipped 'POSIX specific tests'
test_extra_groups_error (test.test_subprocess.POSIXProcessTestCase.test_extra_groups_error) ... skipped 'POSIX specific tests'
test_fork_exec (test.test_subprocess.POSIXProcessTestCase.test_fork_exec) ... skipped 'POSIX specific tests'
test_fork_exec_sorted_fd_sanity_check (test.test_subprocess.POSIXProcessTestCase.test_fork_exec_sorted_fd_sanity_check) ... skipped 'POSIX specific tests'
test_group (test.test_subprocess.POSIXProcessTestCase.test_group) ... skipped 'POSIX specific tests'
test_group_error (test.test_subprocess.POSIXProcessTestCase.test_group_error) ... skipped 'POSIX specific tests'
test_invalid_args (test.test_subprocess.POSIXProcessTestCase.test_invalid_args) ... skipped 'POSIX specific tests'
test_kill (test.test_subprocess.POSIXProcessTestCase.test_kill) ... skipped 'POSIX specific tests'
test_kill_dead (test.test_subprocess.POSIXProcessTestCase.test_kill_dead) ... skipped 'POSIX specific tests'
test_leak_fast_process_del_killed (test.test_subprocess.POSIXProcessTestCase.test_leak_fast_process_del_killed) ... skipped 'POSIX specific tests'
test_pass_fds (test.test_subprocess.POSIXProcessTestCase.test_pass_fds) ... skipped 'POSIX specific tests'
test_pass_fds_inheritable (test.test_subprocess.POSIXProcessTestCase.test_pass_fds_inheritable) ... skipped 'POSIX specific tests'
test_pass_fds_redirected (test.test_subprocess.POSIXProcessTestCase.test_pass_fds_redirected)
Regression test for https://bugs.python.org/issue32270. ... skipped 'POSIX specific tests'
test_pipe_cloexec (test.test_subprocess.POSIXProcessTestCase.test_pipe_cloexec) ... skipped 'POSIX specific tests'
test_pipe_cloexec_real_tools (test.test_subprocess.POSIXProcessTestCase.test_pipe_cloexec_real_tools) ... skipped 'POSIX specific tests'
test_preexec (test.test_subprocess.POSIXProcessTestCase.test_preexec) ... skipped 'POSIX specific tests'
test_preexec_errpipe_does_not_double_close_pipes (test.test_subprocess.POSIXProcessTestCase.test_preexec_errpipe_does_not_double_close_pipes)
Issue16140: Don't double close pipes on preexec error. ... skipped 'POSIX specific tests'
test_preexec_exception (test.test_subprocess.POSIXProcessTestCase.test_preexec_exception) ... skipped 'POSIX specific tests'
test_preexec_fork_failure (test.test_subprocess.POSIXProcessTestCase.test_preexec_fork_failure) ... skipped 'POSIX specific tests'
test_preexec_gc_module_failure (test.test_subprocess.POSIXProcessTestCase.test_preexec_gc_module_failure) ... skipped 'POSIX specific tests'
test_process_group_0 (test.test_subprocess.POSIXProcessTestCase.test_process_group_0) ... skipped 'POSIX specific tests'
test_remapping_std_fds (test.test_subprocess.POSIXProcessTestCase.test_remapping_std_fds) ... skipped 'POSIX specific tests'
test_restore_signals (test.test_subprocess.POSIXProcessTestCase.test_restore_signals) ... skipped 'POSIX specific tests'
test_run_abort (test.test_subprocess.POSIXProcessTestCase.test_run_abort) ... skipped 'POSIX specific tests'
test_select_unbuffered (test.test_subprocess.POSIXProcessTestCase.test_select_unbuffered) ... skipped 'POSIX specific tests'
test_send_signal (test.test_subprocess.POSIXProcessTestCase.test_send_signal) ... skipped 'POSIX specific tests'
test_send_signal_dead (test.test_subprocess.POSIXProcessTestCase.test_send_signal_dead) ... skipped 'POSIX specific tests'
test_send_signal_race (test.test_subprocess.POSIXProcessTestCase.test_send_signal_race) ... skipped 'POSIX specific tests'
test_send_signal_race2 (test.test_subprocess.POSIXProcessTestCase.test_send_signal_race2) ... skipped 'POSIX specific tests'
test_shell_sequence (test.test_subprocess.POSIXProcessTestCase.test_shell_sequence) ... skipped 'POSIX specific tests'
test_shell_string (test.test_subprocess.POSIXProcessTestCase.test_shell_string) ... skipped 'POSIX specific tests'
test_small_errpipe_write_fd (test.test_subprocess.POSIXProcessTestCase.test_small_errpipe_write_fd)
Issue #15798: Popen should work when stdio fds are available. ... skipped 'POSIX specific tests'
test_specific_shell (test.test_subprocess.POSIXProcessTestCase.test_specific_shell) ... skipped 'POSIX specific tests'
test_start_new_session (test.test_subprocess.POSIXProcessTestCase.test_start_new_session) ... skipped 'POSIX specific tests'
test_stderr_stdin_are_single_inout_fd (test.test_subprocess.POSIXProcessTestCase.test_stderr_stdin_are_single_inout_fd) ... skipped 'POSIX specific tests'
test_stdout_stderr_are_single_inout_fd (test.test_subprocess.POSIXProcessTestCase.test_stdout_stderr_are_single_inout_fd) ... skipped 'POSIX specific tests'
test_stdout_stdin_are_single_inout_fd (test.test_subprocess.POSIXProcessTestCase.test_stdout_stdin_are_single_inout_fd) ... skipped 'POSIX specific tests'
test_stopped (test.test_subprocess.POSIXProcessTestCase.test_stopped)
Test wait() behavior when waitpid returns WIFSTOPPED; issue29335. ... skipped 'POSIX specific tests'
test_surrogates_error_message (test.test_subprocess.POSIXProcessTestCase.test_surrogates_error_message) ... skipped 'POSIX specific tests'
test_swap_fds (test.test_subprocess.POSIXProcessTestCase.test_swap_fds) ... skipped 'POSIX specific tests'
test_swap_std_fds_with_one_closed (test.test_subprocess.POSIXProcessTestCase.test_swap_std_fds_with_one_closed) ... skipped 'POSIX specific tests'
test_terminate (test.test_subprocess.POSIXProcessTestCase.test_terminate) ... skipped 'POSIX specific tests'
test_terminate_dead (test.test_subprocess.POSIXProcessTestCase.test_terminate_dead) ... skipped 'POSIX specific tests'
test_umask (test.test_subprocess.POSIXProcessTestCase.test_umask) ... skipped 'POSIX specific tests'
test_undecodable_env (test.test_subprocess.POSIXProcessTestCase.test_undecodable_env) ... skipped 'POSIX specific tests'
test_user (test.test_subprocess.POSIXProcessTestCase.test_user) ... skipped 'POSIX specific tests'
test_user_error (test.test_subprocess.POSIXProcessTestCase.test_user_error) ... skipped 'POSIX specific tests'
test_wait_when_sigchild_ignored (test.test_subprocess.POSIXProcessTestCase.test_wait_when_sigchild_ignored) ... skipped 'POSIX specific tests'
test_zombie_fast_process_del (test.test_subprocess.POSIXProcessTestCase.test_zombie_fast_process_del) ... skipped 'POSIX specific tests'
test__use_vfork (test.test_subprocess.ProcessTestCase.test__use_vfork) ... skipped 'vfork() not enabled by configure.'
test_bufsize_equal_one_binary_mode (test.test_subprocess.ProcessTestCase.test_bufsize_equal_one_binary_mode) ... ERROR
test_bufsize_equal_one_text_mode (test.test_subprocess.ProcessTestCase.test_bufsize_equal_one_text_mode) ... ERROR
test_bufsize_is_none (test.test_subprocess.ProcessTestCase.test_bufsize_is_none) ... ok
test_bytes_executable (test.test_subprocess.ProcessTestCase.test_bytes_executable) ... ok
test_bytes_executable_replaces_shell (test.test_subprocess.ProcessTestCase.test_bytes_executable_replaces_shell) ... skipped 'executable argument replaces shell'
test_call_kwargs (test.test_subprocess.ProcessTestCase.test_call_kwargs) ... ok
test_call_seq (test.test_subprocess.ProcessTestCase.test_call_seq) ... ok
test_call_timeout (test.test_subprocess.ProcessTestCase.test_call_timeout) ... ok
test_check_call_nonzero (test.test_subprocess.ProcessTestCase.test_check_call_nonzero) ... ok
test_check_call_zero (test.test_subprocess.ProcessTestCase.test_check_call_zero) ... ok
test_check_output (test.test_subprocess.ProcessTestCase.test_check_output) ... ok
test_check_output_input_arg (test.test_subprocess.ProcessTestCase.test_check_output_input_arg) ... ok
test_check_output_input_none (test.test_subprocess.ProcessTestCase.test_check_output_input_none)
input=None has a legacy meaning of input='' on check_output. ... ok
test_check_output_input_none_encoding_errors (test.test_subprocess.ProcessTestCase.test_check_output_input_none_encoding_errors) ... ok
test_check_output_input_none_text (test.test_subprocess.ProcessTestCase.test_check_output_input_none_text) ... ok
test_check_output_input_none_universal_newlines (test.test_subprocess.ProcessTestCase.test_check_output_input_none_universal_newlines) ... ok
test_check_output_nonzero (test.test_subprocess.ProcessTestCase.test_check_output_nonzero) ... ok
test_check_output_stderr (test.test_subprocess.ProcessTestCase.test_check_output_stderr) ... ok
test_check_output_stdin_arg (test.test_subprocess.ProcessTestCase.test_check_output_stdin_arg) ... ok
test_check_output_stdin_with_input_arg (test.test_subprocess.ProcessTestCase.test_check_output_stdin_with_input_arg) ... ok
test_check_output_stdout_arg (test.test_subprocess.ProcessTestCase.test_check_output_stdout_arg) ... ok
test_check_output_timeout (test.test_subprocess.ProcessTestCase.test_check_output_timeout) ... skipped "resource 'walltime' is not enabled"
test_class_getitems (test.test_subprocess.ProcessTestCase.test_class_getitems) ... ok
test_communicate (test.test_subprocess.ProcessTestCase.test_communicate) ... ok
test_communicate_eintr (test.test_subprocess.ProcessTestCase.test_communicate_eintr) ... skipped 'Requires signal.SIGUSR1'
test_communicate_epipe (test.test_subprocess.ProcessTestCase.test_communicate_epipe) ... ok
test_communicate_epipe_only_stdin (test.test_subprocess.ProcessTestCase.test_communicate_epipe_only_stdin) ... ok
test_communicate_errors (test.test_subprocess.ProcessTestCase.test_communicate_errors) ... ok
test_communicate_pipe_buf (test.test_subprocess.ProcessTestCase.test_communicate_pipe_buf) ... ok
test_communicate_pipe_fd_leak (test.test_subprocess.ProcessTestCase.test_communicate_pipe_fd_leak) ... ok
test_communicate_returns (test.test_subprocess.ProcessTestCase.test_communicate_returns) ... ok
test_communicate_stderr (test.test_subprocess.ProcessTestCase.test_communicate_stderr) ... ok
test_communicate_stdin (test.test_subprocess.ProcessTestCase.test_communicate_stdin) ... ok
test_communicate_stdout (test.test_subprocess.ProcessTestCase.test_communicate_stdout) ... ok
test_communicate_timeout (test.test_subprocess.ProcessTestCase.test_communicate_timeout) ... ok
test_communicate_timeout_large_output (test.test_subprocess.ProcessTestCase.test_communicate_timeout_large_output) ... ok
test_cwd (test.test_subprocess.ProcessTestCase.test_cwd) ... ok
test_cwd_with_absolute_arg (test.test_subprocess.ProcessTestCase.test_cwd_with_absolute_arg) ... ok
test_cwd_with_bytes (test.test_subprocess.ProcessTestCase.test_cwd_with_bytes) ... ok
test_cwd_with_pathlike (test.test_subprocess.ProcessTestCase.test_cwd_with_pathlike) ... ok
test_cwd_with_relative_arg (test.test_subprocess.ProcessTestCase.test_cwd_with_relative_arg) ... skipped 'pending resolution of issue #15533'
test_cwd_with_relative_executable (test.test_subprocess.ProcessTestCase.test_cwd_with_relative_executable) ... skipped 'pending resolution of issue #15533'
test_double_close_on_error (test.test_subprocess.ProcessTestCase.test_double_close_on_error) ... ok
test_empty_env (test.test_subprocess.ProcessTestCase.test_empty_env)
Verify that env={} is as empty as possible. ... skipped 'cannot test an empty env on Windows'
test_env (test.test_subprocess.ProcessTestCase.test_env) ... ok
test_executable (test.test_subprocess.ProcessTestCase.test_executable) ... ok
test_executable_replaces_shell (test.test_subprocess.ProcessTestCase.test_executable_replaces_shell) ... skipped 'executable argument replaces shell'
test_executable_takes_precedence (test.test_subprocess.ProcessTestCase.test_executable_takes_precedence) ... ok
test_executable_with_cwd (test.test_subprocess.ProcessTestCase.test_executable_with_cwd) ... ok
test_executable_without_cwd (test.test_subprocess.ProcessTestCase.test_executable_without_cwd) ... ok
test_failed_child_execute_fd_leak (test.test_subprocess.ProcessTestCase.test_failed_child_execute_fd_leak)
Test for the fork() failure fd leak reported in issue16327. ... skipped 'Linux specific'
test_file_not_found_includes_filename (test.test_subprocess.ProcessTestCase.test_file_not_found_includes_filename) ... skipped 'behavior currently not supported on Windows'
test_file_not_found_with_bad_cwd (test.test_subprocess.ProcessTestCase.test_file_not_found_with_bad_cwd) ... skipped 'behavior currently not supported on Windows'
test_handles_closed_on_exception (test.test_subprocess.ProcessTestCase.test_handles_closed_on_exception) ... ok
test_invalid_args (test.test_subprocess.ProcessTestCase.test_invalid_args) ... ok
test_invalid_bufsize (test.test_subprocess.ProcessTestCase.test_invalid_bufsize) ... ok
test_invalid_cmd (test.test_subprocess.ProcessTestCase.test_invalid_cmd) ... FAIL
test_invalid_env (test.test_subprocess.ProcessTestCase.test_invalid_env) ... ERROR
test_io_buffered_by_default (test.test_subprocess.ProcessTestCase.test_io_buffered_by_default) ... ok
test_io_unbuffered_works (test.test_subprocess.ProcessTestCase.test_io_unbuffered_works) ... ok
test_issue8780 (test.test_subprocess.ProcessTestCase.test_issue8780) ... And now for something completely different: ``I understand how denialism is a
bad debugging technique''
ok
test_leaking_fds_on_error (test.test_subprocess.ProcessTestCase.test_leaking_fds_on_error) ... skipped "resource 'cpu' is not enabled"
test_list2cmdline (test.test_subprocess.ProcessTestCase.test_list2cmdline) ... ok
test_no_leaking (test.test_subprocess.ProcessTestCase.test_no_leaking) ... skipped 'failed to reach the file descriptor limit (tried 2050)'
test_nonexisting_with_pipes (test.test_subprocess.ProcessTestCase.test_nonexisting_with_pipes) ... skipped 'need msvcrt.CrtSetReportMode'
test_one_environment_variable (test.test_subprocess.ProcessTestCase.test_one_environment_variable) ... ok
test_pathlike_executable (test.test_subprocess.ProcessTestCase.test_pathlike_executable) ... ok
test_pathlike_executable_replaces_shell (test.test_subprocess.ProcessTestCase.test_pathlike_executable_replaces_shell) ... skipped 'executable argument replaces shell'
test_pipesize_default (test.test_subprocess.ProcessTestCase.test_pipesize_default) ... skipped 'fcntl.F_GETPIPE_SZ required for test.'
test_pipesizes (test.test_subprocess.ProcessTestCase.test_pipesizes) ... skipped 'fcntl.F_GETPIPE_SZ required for test.'
test_poll (test.test_subprocess.ProcessTestCase.test_poll) ... ok
test_repr (test.test_subprocess.ProcessTestCase.test_repr) ... ok
test_stderr_devnull (test.test_subprocess.ProcessTestCase.test_stderr_devnull) ... ok
test_stderr_filedes (test.test_subprocess.ProcessTestCase.test_stderr_filedes) ... ok
test_stderr_fileobj (test.test_subprocess.ProcessTestCase.test_stderr_fileobj) ... ok
test_stderr_none (test.test_subprocess.ProcessTestCase.test_stderr_none) ... ok
test_stderr_pipe (test.test_subprocess.ProcessTestCase.test_stderr_pipe) ... ok
test_stderr_redirect_with_no_stdout_redirect (test.test_subprocess.ProcessTestCase.test_stderr_redirect_with_no_stdout_redirect) ... ok
test_stdin_devnull (test.test_subprocess.ProcessTestCase.test_stdin_devnull) ... ok
test_stdin_filedes (test.test_subprocess.ProcessTestCase.test_stdin_filedes) ... ok
test_stdin_fileobj (test.test_subprocess.ProcessTestCase.test_stdin_fileobj) ... ok
test_stdin_none (test.test_subprocess.ProcessTestCase.test_stdin_none) ... ok
test_stdin_pipe (test.test_subprocess.ProcessTestCase.test_stdin_pipe) ... ok
test_stdout_devnull (test.test_subprocess.ProcessTestCase.test_stdout_devnull) ... ok
test_stdout_filedes (test.test_subprocess.ProcessTestCase.test_stdout_filedes) ... ok
test_stdout_filedes_of_stdout (test.test_subprocess.ProcessTestCase.test_stdout_filedes_of_stdout) ... ok
test_stdout_fileobj (test.test_subprocess.ProcessTestCase.test_stdout_fileobj) ... ok
test_stdout_none (test.test_subprocess.ProcessTestCase.test_stdout_none) ... ok
test_stdout_pipe (test.test_subprocess.ProcessTestCase.test_stdout_pipe) ... ok
test_stdout_stderr_file (test.test_subprocess.ProcessTestCase.test_stdout_stderr_file) ... ok
test_stdout_stderr_pipe (test.test_subprocess.ProcessTestCase.test_stdout_stderr_pipe) ... ok
test_threadsafe_wait (test.test_subprocess.ProcessTestCase.test_threadsafe_wait)
Issue21291: Popen.wait() needs to be threadsafe for returncode. ... ok
test_universal_newlines_and_text (test.test_subprocess.ProcessTestCase.test_universal_newlines_and_text) ... ok
test_universal_newlines_communicate (test.test_subprocess.ProcessTestCase.test_universal_newlines_communicate) ... ok
test_universal_newlines_communicate_encodings (test.test_subprocess.ProcessTestCase.test_universal_newlines_communicate_encodings) ... ok
test_universal_newlines_communicate_input_none (test.test_subprocess.ProcessTestCase.test_universal_newlines_communicate_input_none) ... ok
test_universal_newlines_communicate_stdin (test.test_subprocess.ProcessTestCase.test_universal_newlines_communicate_stdin) ... ok
test_universal_newlines_communicate_stdin_stdout_stderr (test.test_subprocess.ProcessTestCase.test_universal_newlines_communicate_stdin_stdout_stderr) ... ok
test_wait (test.test_subprocess.ProcessTestCase.test_wait) ... ok
test_wait_negative_timeout (test.test_subprocess.ProcessTestCase.test_wait_negative_timeout) ... ok
test_wait_timeout (test.test_subprocess.ProcessTestCase.test_wait_timeout) ... ok
test_win32_duplicate_envs (test.test_subprocess.ProcessTestCase.test_win32_duplicate_envs) ... FAIL
test_win32_invalid_env (test.test_subprocess.ProcessTestCase.test_win32_invalid_env) ... FAIL
test_writes_before_communicate (test.test_subprocess.ProcessTestCase.test_writes_before_communicate) ... ok
test__use_vfork (test.test_subprocess.ProcessTestCaseNoPoll.test__use_vfork) ... skipped 'Test needs selectors.PollSelector'
test_bufsize_equal_one_binary_mode (test.test_subprocess.ProcessTestCaseNoPoll.test_bufsize_equal_one_binary_mode) ... skipped 'Test needs selectors.PollSelector'
test_bufsize_equal_one_text_mode (test.test_subprocess.ProcessTestCaseNoPoll.test_bufsize_equal_one_text_mode) ... skipped 'Test needs selectors.PollSelector'
test_bufsize_is_none (test.test_subprocess.ProcessTestCaseNoPoll.test_bufsize_is_none) ... skipped 'Test needs selectors.PollSelector'
test_bytes_executable (test.test_subprocess.ProcessTestCaseNoPoll.test_bytes_executable) ... skipped 'Test needs selectors.PollSelector'
test_bytes_executable_replaces_shell (test.test_subprocess.ProcessTestCaseNoPoll.test_bytes_executable_replaces_shell) ... skipped 'Test needs selectors.PollSelector'
test_call_kwargs (test.test_subprocess.ProcessTestCaseNoPoll.test_call_kwargs) ... skipped 'Test needs selectors.PollSelector'
test_call_seq (test.test_subprocess.ProcessTestCaseNoPoll.test_call_seq) ... skipped 'Test needs selectors.PollSelector'
test_call_timeout (test.test_subprocess.ProcessTestCaseNoPoll.test_call_timeout) ... skipped 'Test needs selectors.PollSelector'
test_check_call_nonzero (test.test_subprocess.ProcessTestCaseNoPoll.test_check_call_nonzero) ... skipped 'Test needs selectors.PollSelector'
test_check_call_zero (test.test_subprocess.ProcessTestCaseNoPoll.test_check_call_zero) ... skipped 'Test needs selectors.PollSelector'
test_check_output (test.test_subprocess.ProcessTestCaseNoPoll.test_check_output) ... skipped 'Test needs selectors.PollSelector'
test_check_output_input_arg (test.test_subprocess.ProcessTestCaseNoPoll.test_check_output_input_arg) ... skipped 'Test needs selectors.PollSelector'
test_check_output_input_none (test.test_subprocess.ProcessTestCaseNoPoll.test_check_output_input_none)
input=None has a legacy meaning of input='' on check_output. ... skipped 'Test needs selectors.PollSelector'
test_check_output_input_none_encoding_errors (test.test_subprocess.ProcessTestCaseNoPoll.test_check_output_input_none_encoding_errors) ... skipped 'Test needs selectors.PollSelector'
test_check_output_input_none_text (test.test_subprocess.ProcessTestCaseNoPoll.test_check_output_input_none_text) ... skipped 'Test needs selectors.PollSelector'
test_check_output_input_none_universal_newlines (test.test_subprocess.ProcessTestCaseNoPoll.test_check_output_input_none_universal_newlines) ... skipped 'Test needs selectors.PollSelector'
test_check_output_nonzero (test.test_subprocess.ProcessTestCaseNoPoll.test_check_output_nonzero) ... skipped 'Test needs selectors.PollSelector'
test_check_output_stderr (test.test_subprocess.ProcessTestCaseNoPoll.test_check_output_stderr) ... skipped 'Test needs selectors.PollSelector'
test_check_output_stdin_arg (test.test_subprocess.ProcessTestCaseNoPoll.test_check_output_stdin_arg) ... skipped 'Test needs selectors.PollSelector'
test_check_output_stdin_with_input_arg (test.test_subprocess.ProcessTestCaseNoPoll.test_check_output_stdin_with_input_arg) ... skipped 'Test needs selectors.PollSelector'
test_check_output_stdout_arg (test.test_subprocess.ProcessTestCaseNoPoll.test_check_output_stdout_arg) ... skipped 'Test needs selectors.PollSelector'
test_check_output_timeout (test.test_subprocess.ProcessTestCaseNoPoll.test_check_output_timeout) ... skipped 'Test needs selectors.PollSelector'
test_class_getitems (test.test_subprocess.ProcessTestCaseNoPoll.test_class_getitems) ... skipped 'Test needs selectors.PollSelector'
test_communicate (test.test_subprocess.ProcessTestCaseNoPoll.test_communicate) ... skipped 'Test needs selectors.PollSelector'
test_communicate_eintr (test.test_subprocess.ProcessTestCaseNoPoll.test_communicate_eintr) ... skipped 'Test needs selectors.PollSelector'
test_communicate_epipe (test.test_subprocess.ProcessTestCaseNoPoll.test_communicate_epipe) ... skipped 'Test needs selectors.PollSelector'
test_communicate_epipe_only_stdin (test.test_subprocess.ProcessTestCaseNoPoll.test_communicate_epipe_only_stdin) ... skipped 'Test needs selectors.PollSelector'
test_communicate_errors (test.test_subprocess.ProcessTestCaseNoPoll.test_communicate_errors) ... skipped 'Test needs selectors.PollSelector'
test_communicate_pipe_buf (test.test_subprocess.ProcessTestCaseNoPoll.test_communicate_pipe_buf) ... skipped 'Test needs selectors.PollSelector'
test_communicate_pipe_fd_leak (test.test_subprocess.ProcessTestCaseNoPoll.test_communicate_pipe_fd_leak) ... skipped 'Test needs selectors.PollSelector'
test_communicate_returns (test.test_subprocess.ProcessTestCaseNoPoll.test_communicate_returns) ... skipped 'Test needs selectors.PollSelector'
test_communicate_stderr (test.test_subprocess.ProcessTestCaseNoPoll.test_communicate_stderr) ... skipped 'Test needs selectors.PollSelector'
test_communicate_stdin (test.test_subprocess.ProcessTestCaseNoPoll.test_communicate_stdin) ... skipped 'Test needs selectors.PollSelector'
test_communicate_stdout (test.test_subprocess.ProcessTestCaseNoPoll.test_communicate_stdout) ... skipped 'Test needs selectors.PollSelector'
test_communicate_timeout (test.test_subprocess.ProcessTestCaseNoPoll.test_communicate_timeout) ... skipped 'Test needs selectors.PollSelector'
test_communicate_timeout_large_output (test.test_subprocess.ProcessTestCaseNoPoll.test_communicate_timeout_large_output) ... skipped 'Test needs selectors.PollSelector'
test_cwd (test.test_subprocess.ProcessTestCaseNoPoll.test_cwd) ... skipped 'Test needs selectors.PollSelector'
test_cwd_with_absolute_arg (test.test_subprocess.ProcessTestCaseNoPoll.test_cwd_with_absolute_arg) ... skipped 'Test needs selectors.PollSelector'
test_cwd_with_bytes (test.test_subprocess.ProcessTestCaseNoPoll.test_cwd_with_bytes) ... skipped 'Test needs selectors.PollSelector'
test_cwd_with_pathlike (test.test_subprocess.ProcessTestCaseNoPoll.test_cwd_with_pathlike) ... skipped 'Test needs selectors.PollSelector'
test_cwd_with_relative_arg (test.test_subprocess.ProcessTestCaseNoPoll.test_cwd_with_relative_arg) ... skipped 'Test needs selectors.PollSelector'
test_cwd_with_relative_executable (test.test_subprocess.ProcessTestCaseNoPoll.test_cwd_with_relative_executable) ... skipped 'Test needs selectors.PollSelector'
test_double_close_on_error (test.test_subprocess.ProcessTestCaseNoPoll.test_double_close_on_error) ... skipped 'Test needs selectors.PollSelector'
test_empty_env (test.test_subprocess.ProcessTestCaseNoPoll.test_empty_env)
Verify that env={} is as empty as possible. ... skipped 'Test needs selectors.PollSelector'
test_env (test.test_subprocess.ProcessTestCaseNoPoll.test_env) ... skipped 'Test needs selectors.PollSelector'
test_executable (test.test_subprocess.ProcessTestCaseNoPoll.test_executable) ... skipped 'Test needs selectors.PollSelector'
test_executable_replaces_shell (test.test_subprocess.ProcessTestCaseNoPoll.test_executable_replaces_shell) ... skipped 'Test needs selectors.PollSelector'
test_executable_takes_precedence (test.test_subprocess.ProcessTestCaseNoPoll.test_executable_takes_precedence) ... skipped 'Test needs selectors.PollSelector'
test_executable_with_cwd (test.test_subprocess.ProcessTestCaseNoPoll.test_executable_with_cwd) ... skipped 'Test needs selectors.PollSelector'
test_executable_without_cwd (test.test_subprocess.ProcessTestCaseNoPoll.test_executable_without_cwd) ... skipped 'Test needs selectors.PollSelector'
test_failed_child_execute_fd_leak (test.test_subprocess.ProcessTestCaseNoPoll.test_failed_child_execute_fd_leak)
Test for the fork() failure fd leak reported in issue16327. ... skipped 'Test needs selectors.PollSelector'
test_file_not_found_includes_filename (test.test_subprocess.ProcessTestCaseNoPoll.test_file_not_found_includes_filename) ... skipped 'Test needs selectors.PollSelector'
test_file_not_found_with_bad_cwd (test.test_subprocess.ProcessTestCaseNoPoll.test_file_not_found_with_bad_cwd) ... skipped 'Test needs selectors.PollSelector'
test_handles_closed_on_exception (test.test_subprocess.ProcessTestCaseNoPoll.test_handles_closed_on_exception) ... skipped 'Test needs selectors.PollSelector'
test_invalid_args (test.test_subprocess.ProcessTestCaseNoPoll.test_invalid_args) ... skipped 'Test needs selectors.PollSelector'
test_invalid_bufsize (test.test_subprocess.ProcessTestCaseNoPoll.test_invalid_bufsize) ... skipped 'Test needs selectors.PollSelector'
test_invalid_cmd (test.test_subprocess.ProcessTestCaseNoPoll.test_invalid_cmd) ... skipped 'Test needs selectors.PollSelector'
test_invalid_env (test.test_subprocess.ProcessTestCaseNoPoll.test_invalid_env) ... skipped 'Test needs selectors.PollSelector'
test_io_buffered_by_default (test.test_subprocess.ProcessTestCaseNoPoll.test_io_buffered_by_default) ... skipped 'Test needs selectors.PollSelector'
test_io_unbuffered_works (test.test_subprocess.ProcessTestCaseNoPoll.test_io_unbuffered_works) ... skipped 'Test needs selectors.PollSelector'
test_issue8780 (test.test_subprocess.ProcessTestCaseNoPoll.test_issue8780) ... skipped 'Test needs selectors.PollSelector'
test_leaking_fds_on_error (test.test_subprocess.ProcessTestCaseNoPoll.test_leaking_fds_on_error) ... skipped 'Test needs selectors.PollSelector'
test_list2cmdline (test.test_subprocess.ProcessTestCaseNoPoll.test_list2cmdline) ... skipped 'Test needs selectors.PollSelector'
test_no_leaking (test.test_subprocess.ProcessTestCaseNoPoll.test_no_leaking) ... skipped 'Test needs selectors.PollSelector'
test_nonexisting_with_pipes (test.test_subprocess.ProcessTestCaseNoPoll.test_nonexisting_with_pipes) ... skipped 'Test needs selectors.PollSelector'
test_one_environment_variable (test.test_subprocess.ProcessTestCaseNoPoll.test_one_environment_variable) ... skipped 'Test needs selectors.PollSelector'
test_pathlike_executable (test.test_subprocess.ProcessTestCaseNoPoll.test_pathlike_executable) ... skipped 'Test needs selectors.PollSelector'
test_pathlike_executable_replaces_shell (test.test_subprocess.ProcessTestCaseNoPoll.test_pathlike_executable_replaces_shell) ... skipped 'Test needs selectors.PollSelector'
test_pipesize_default (test.test_subprocess.ProcessTestCaseNoPoll.test_pipesize_default) ... skipped 'Test needs selectors.PollSelector'
test_pipesizes (test.test_subprocess.ProcessTestCaseNoPoll.test_pipesizes) ... skipped 'Test needs selectors.PollSelector'
test_poll (test.test_subprocess.ProcessTestCaseNoPoll.test_poll) ... skipped 'Test needs selectors.PollSelector'
test_repr (test.test_subprocess.ProcessTestCaseNoPoll.test_repr) ... skipped 'Test needs selectors.PollSelector'
test_stderr_devnull (test.test_subprocess.ProcessTestCaseNoPoll.test_stderr_devnull) ... skipped 'Test needs selectors.PollSelector'
test_stderr_filedes (test.test_subprocess.ProcessTestCaseNoPoll.test_stderr_filedes) ... skipped 'Test needs selectors.PollSelector'
test_stderr_fileobj (test.test_subprocess.ProcessTestCaseNoPoll.test_stderr_fileobj) ... skipped 'Test needs selectors.PollSelector'
test_stderr_none (test.test_subprocess.ProcessTestCaseNoPoll.test_stderr_none) ... skipped 'Test needs selectors.PollSelector'
test_stderr_pipe (test.test_subprocess.ProcessTestCaseNoPoll.test_stderr_pipe) ... skipped 'Test needs selectors.PollSelector'
test_stderr_redirect_with_no_stdout_redirect (test.test_subprocess.ProcessTestCaseNoPoll.test_stderr_redirect_with_no_stdout_redirect) ... skipped 'Test needs selectors.PollSelector'
test_stdin_devnull (test.test_subprocess.ProcessTestCaseNoPoll.test_stdin_devnull) ... skipped 'Test needs selectors.PollSelector'
test_stdin_filedes (test.test_subprocess.ProcessTestCaseNoPoll.test_stdin_filedes) ... skipped 'Test needs selectors.PollSelector'
test_stdin_fileobj (test.test_subprocess.ProcessTestCaseNoPoll.test_stdin_fileobj) ... skipped 'Test needs selectors.PollSelector'
test_stdin_none (test.test_subprocess.ProcessTestCaseNoPoll.test_stdin_none) ... skipped 'Test needs selectors.PollSelector'
test_stdin_pipe (test.test_subprocess.ProcessTestCaseNoPoll.test_stdin_pipe) ... skipped 'Test needs selectors.PollSelector'
test_stdout_devnull (test.test_subprocess.ProcessTestCaseNoPoll.test_stdout_devnull) ... skipped 'Test needs selectors.PollSelector'
test_stdout_filedes (test.test_subprocess.ProcessTestCaseNoPoll.test_stdout_filedes) ... skipped 'Test needs selectors.PollSelector'
test_stdout_filedes_of_stdout (test.test_subprocess.ProcessTestCaseNoPoll.test_stdout_filedes_of_stdout) ... skipped 'Test needs selectors.PollSelector'
test_stdout_fileobj (test.test_subprocess.ProcessTestCaseNoPoll.test_stdout_fileobj) ... skipped 'Test needs selectors.PollSelector'
test_stdout_none (test.test_subprocess.ProcessTestCaseNoPoll.test_stdout_none) ... skipped 'Test needs selectors.PollSelector'
test_stdout_pipe (test.test_subprocess.ProcessTestCaseNoPoll.test_stdout_pipe) ... skipped 'Test needs selectors.PollSelector'
test_stdout_stderr_file (test.test_subprocess.ProcessTestCaseNoPoll.test_stdout_stderr_file) ... skipped 'Test needs selectors.PollSelector'
test_stdout_stderr_pipe (test.test_subprocess.ProcessTestCaseNoPoll.test_stdout_stderr_pipe) ... skipped 'Test needs selectors.PollSelector'
test_threadsafe_wait (test.test_subprocess.ProcessTestCaseNoPoll.test_threadsafe_wait)
Issue21291: Popen.wait() needs to be threadsafe for returncode. ... skipped 'Test needs selectors.PollSelector'
test_universal_newlines_and_text (test.test_subprocess.ProcessTestCaseNoPoll.test_universal_newlines_and_text) ... skipped 'Test needs selectors.PollSelector'
test_universal_newlines_communicate (test.test_subprocess.ProcessTestCaseNoPoll.test_universal_newlines_communicate) ... skipped 'Test needs selectors.PollSelector'
test_universal_newlines_communicate_encodings (test.test_subprocess.ProcessTestCaseNoPoll.test_universal_newlines_communicate_encodings) ... skipped 'Test needs selectors.PollSelector'
test_universal_newlines_communicate_input_none (test.test_subprocess.ProcessTestCaseNoPoll.test_universal_newlines_communicate_input_none) ... skipped 'Test needs selectors.PollSelector'
test_universal_newlines_communicate_stdin (test.test_subprocess.ProcessTestCaseNoPoll.test_universal_newlines_communicate_stdin) ... skipped 'Test needs selectors.PollSelector'
test_universal_newlines_communicate_stdin_stdout_stderr (test.test_subprocess.ProcessTestCaseNoPoll.test_universal_newlines_communicate_stdin_stdout_stderr) ... skipped 'Test needs selectors.PollSelector'
test_wait (test.test_subprocess.ProcessTestCaseNoPoll.test_wait) ... skipped 'Test needs selectors.PollSelector'
test_wait_negative_timeout (test.test_subprocess.ProcessTestCaseNoPoll.test_wait_negative_timeout) ... skipped 'Test needs selectors.PollSelector'
test_wait_timeout (test.test_subprocess.ProcessTestCaseNoPoll.test_wait_timeout) ... skipped 'Test needs selectors.PollSelector'
test_win32_duplicate_envs (test.test_subprocess.ProcessTestCaseNoPoll.test_win32_duplicate_envs) ... skipped 'Test needs selectors.PollSelector'
test_win32_invalid_env (test.test_subprocess.ProcessTestCaseNoPoll.test_win32_invalid_env) ... skipped 'Test needs selectors.PollSelector'
test_writes_before_communicate (test.test_subprocess.ProcessTestCaseNoPoll.test_writes_before_communicate) ... skipped 'Test needs selectors.PollSelector'
test_capture_output (test.test_subprocess.RunFuncTestCase.test_capture_output) ... ok
test_capture_stderr (test.test_subprocess.RunFuncTestCase.test_capture_stderr) ... ok
test_capture_stdout (test.test_subprocess.RunFuncTestCase.test_capture_stdout) ... ok
test_check (test.test_subprocess.RunFuncTestCase.test_check) ... ok
test_check_output_input_arg (test.test_subprocess.RunFuncTestCase.test_check_output_input_arg) ... ok
test_check_output_stdin_arg (test.test_subprocess.RunFuncTestCase.test_check_output_stdin_arg) ... ok
test_check_output_stdin_with_input_arg (test.test_subprocess.RunFuncTestCase.test_check_output_stdin_with_input_arg) ... ok
test_check_output_timeout (test.test_subprocess.RunFuncTestCase.test_check_output_timeout) ... skipped "resource 'walltime' is not enabled"
test_check_zero (test.test_subprocess.RunFuncTestCase.test_check_zero) ... ok
test_encoding_warning (test.test_subprocess.RunFuncTestCase.test_encoding_warning) ... ok
test_returncode (test.test_subprocess.RunFuncTestCase.test_returncode) ... ok
test_run_kwargs (test.test_subprocess.RunFuncTestCase.test_run_kwargs) ... ok
test_run_with_an_empty_env (test.test_subprocess.RunFuncTestCase.test_run_with_an_empty_env) ... ok
test_run_with_bytes_path_and_arguments (test.test_subprocess.RunFuncTestCase.test_run_with_bytes_path_and_arguments) ... ok
test_run_with_pathlike_path (test.test_subprocess.RunFuncTestCase.test_run_with_pathlike_path) ... ok
test_run_with_pathlike_path_and_arguments (test.test_subprocess.RunFuncTestCase.test_run_with_pathlike_path_and_arguments) ... ok
test_run_with_shell_timeout_and_capture_output (test.test_subprocess.RunFuncTestCase.test_run_with_shell_timeout_and_capture_output)
Output capturing after a timeout mustn't hang forever on open filehandles. ... skipped "requires posix like 'sleep' shell command"
test_stderr_with_capture_output_arg (test.test_subprocess.RunFuncTestCase.test_stderr_with_capture_output_arg) ... ok
test_stdout_with_capture_output_arg (test.test_subprocess.RunFuncTestCase.test_stdout_with_capture_output_arg) ... ok
test_timeout (test.test_subprocess.RunFuncTestCase.test_timeout) ... ok
test_call_string (test.test_subprocess.Win32ProcessTestCase.test_call_string) ... ok
test_close_fds (test.test_subprocess.Win32ProcessTestCase.test_close_fds) ... ok
test_close_fds_with_stdio (test.test_subprocess.Win32ProcessTestCase.test_close_fds_with_stdio) ... FAIL
test_creationflags (test.test_subprocess.Win32ProcessTestCase.test_creationflags) ... ok
test_empty_attribute_list (test.test_subprocess.Win32ProcessTestCase.test_empty_attribute_list) ... ok
test_empty_handle_list (test.test_subprocess.Win32ProcessTestCase.test_empty_handle_list) ... ok
test_invalid_args (test.test_subprocess.Win32ProcessTestCase.test_invalid_args) ... ok
test_issue31471 (test.test_subprocess.Win32ProcessTestCase.test_issue31471) ... skipped 'implementation detail specific to cpython'
test_kill (test.test_subprocess.Win32ProcessTestCase.test_kill) ... ok
test_kill_dead (test.test_subprocess.Win32ProcessTestCase.test_kill_dead) ... ok
test_send_signal (test.test_subprocess.Win32ProcessTestCase.test_send_signal) ... ok
test_send_signal_dead (test.test_subprocess.Win32ProcessTestCase.test_send_signal_dead) ... ok
test_shell_encodings (test.test_subprocess.Win32ProcessTestCase.test_shell_encodings) ... ok
test_shell_sequence (test.test_subprocess.Win32ProcessTestCase.test_shell_sequence) ... ok
test_shell_string (test.test_subprocess.Win32ProcessTestCase.test_shell_string) ... ok
test_startupinfo (test.test_subprocess.Win32ProcessTestCase.test_startupinfo) ... ok
test_startupinfo_copy (test.test_subprocess.Win32ProcessTestCase.test_startupinfo_copy) ... ok
test_startupinfo_keywords (test.test_subprocess.Win32ProcessTestCase.test_startupinfo_keywords) ... ok
test_terminate (test.test_subprocess.Win32ProcessTestCase.test_terminate) ... ok
test_terminate_dead (test.test_subprocess.Win32ProcessTestCase.test_terminate_dead) ... ok
======================================================================
ERROR: test_bufsize_equal_one_binary_mode (test.test_subprocess.ProcessTestCase.test_bufsize_equal_one_binary_mode)
----------------------------------------------------------------------
OSError: [Errno 9] Bad file descriptor
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_subprocess.py", line 1343, in test_bufsize_equal_one_binary_mode
self._test_bufsize_equal_one(line, b'', universal_newlines=False)
^^^^^^^^^^^^^^^^^^^^^^^
File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_subprocess.py", line 1312, in _test_bufsize_equal_one
with subprocess.Popen([sys.executable, "-c", "import sys;"
File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\subprocess.py", line 1099, in __exit__
self.stdin.close()
^^^^^
OSError: [Errno 9] Bad file descriptor
======================================================================
ERROR: test_bufsize_equal_one_text_mode (test.test_subprocess.ProcessTestCase.test_bufsize_equal_one_text_mode)
----------------------------------------------------------------------
Traceback (most recent call last):
File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_subprocess.py", line 1323, in _test_bufsize_equal_one
with support.SuppressCrashReport():
File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\support\__init__.py", line 1564, in __enter__
self.old_value = msvcrt.GetErrorMode()
^^^^^^^^^^^^
TypeError: 'unsigned int(*)(unsigned int)' expects 1 arguments, got 0
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_subprocess.py", line 1336, in test_bufsize_equal_one_text_mode
self._test_bufsize_equal_one(line, line, universal_newlines=True)
^^^^^^^^^^^^^^^^^^^^^^^
File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_subprocess.py", line 1312, in _test_bufsize_equal_one
with subprocess.Popen([sys.executable, "-c", "import sys;"
File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\subprocess.py", line 1099, in __exit__
self.stdin.close()
^^^^^
OSError: [Errno 9] Bad file descriptor
======================================================================
ERROR: test_invalid_env (test.test_subprocess.ProcessTestCase.test_invalid_env)
----------------------------------------------------------------------
Traceback (most recent call last):
File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_subprocess.py", line 871, in test_invalid_env
subprocess.Popen(ZERO_RETURN_CMD, env=newenv)
^^^^^
File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\subprocess.py", line 1026, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
^^^^^^^^^^^^^^
File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\subprocess.py", line 1551, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
^^^^^^^^^^^^^
File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib_pypy\_winapi.py", line 307, in CreateProcess
raise_WinError()
File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib_pypy\_winapi.py", line 36, in raise_WinError
raise excep
OSError: [WinError 87] The parameter is incorrect
======================================================================
FAIL: test_invalid_cmd (test.test_subprocess.ProcessTestCase.test_invalid_cmd)
----------------------------------------------------------------------
Traceback (most recent call last):
File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_subprocess.py", line 859, in test_invalid_cmd
with self.assertRaises(ValueError):
AssertionError: ValueError not raised
======================================================================
FAIL: test_win32_duplicate_envs (test.test_subprocess.ProcessTestCase.test_win32_duplicate_envs)
----------------------------------------------------------------------
Traceback (most recent call last):
File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_subprocess.py", line 803, in test_win32_duplicate_envs
self.assertEqual(stdout.strip(), b"frUit=banana")
^^^^^^^^^^^
AssertionError: b'fRUit=banana' != b'frUit=banana'
======================================================================
FAIL: test_win32_invalid_env (test.test_subprocess.ProcessTestCase.test_win32_invalid_env)
----------------------------------------------------------------------
Traceback (most recent call last):
File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_subprocess.py", line 901, in test_win32_invalid_env
with self.assertRaises(ValueError):
AssertionError: ValueError not raised
======================================================================
FAIL: test_close_fds_with_stdio (test.test_subprocess.Win32ProcessTestCase.test_close_fds_with_stdio)
----------------------------------------------------------------------
Traceback (most recent call last):
File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_subprocess.py", line 3528, in test_close_fds_with_stdio
self.assertEqual(p.returncode, 1)
^^^^^^^^^^^
AssertionError: 0 != 1
----------------------------------------------------------------------
Ran 339 tests in 12.790s
FAILED (failures=4, errors=3, skipped=200)
test_subprocess failed (3 errors, 4 failures)
== Tests result: FAILURE ==
1 test failed:
test_subprocess
Total duration: 13.2 sec
Total tests: run=339 failures=4 skipped=200
Total test files: run=1/1 failed=1
Result: FAILURE
Python 3.11.15 (a0a2919ebcf6, Jul 09 2026, 03:58:26)
[PyPy 8.0.0-alpha0 with MSC v.1941 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
Traceback (most recent call last):
File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib_pypy\_pypy_interact.py", line 46, in interactive_console
run_interactive(mainmodule)
File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib_pypy\pyrepl\main.py", line 60, in interactive_console
run_multiline_interactive_console(console)
File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib_pypy\pyrepl\simple_interact.py", line 155, in run_multiline_interactive_console
statement = multiline_input(more_lines, ps1, ps2)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib_pypy\pyrepl\readline.py", line 487, in multiline_input
return reader.readline()
^^^^^^^^
File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib_pypy\pyrepl\reader.py", line 780, in readline
self.prepare()
^^^^^^^
File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib_pypy\pyrepl\historical_reader.py", line 286, in prepare
super().prepare()
^^^^^^^
File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib_pypy\pyrepl\reader.py", line 634, in prepare
self.console.prepare()
^^^^^^^
File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib_pypy\pyrepl\windows_console.py", line 314, in prepare
self.height, self.width = self.getheightwidth()
^^^^^^^^^^^^^^
File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib_pypy\pyrepl\windows_console.py", line 358, in getheightwidth
raise WinError(GetLastError())
OSError: [WinError 0] The operation completed successfully
a DOS box should flash briefly ...
test test_subprocess failed
builder: pypy-c-jit-win-x86-64 build #2431+
test: lib-python/3/test/test_subprocess.py::unmodified