• Home
  • Raw
  • Download

Lines Matching defs:self

85     def setUp(self):  argument
90 def tearDown(self): argument
111 def _execute_child(self, *args, **kwargs): argument
117 def test_io_buffered_by_default(self): argument
131 def test_io_unbuffered_works(self): argument
145 def test_call_seq(self): argument
151 def test_call_timeout(self): argument
160 def test_check_call_zero(self): argument
165 def test_check_call_nonzero(self): argument
172 def test_check_output(self): argument
186 def test_check_output_nonzero(self): argument
193 def test_check_output_stderr(self): argument
200 def test_check_output_stdin_arg(self): argument
212 def test_check_output_input_arg(self): argument
220 def test_check_output_input_none(self): argument
228 def test_check_output_input_none_text(self): argument
235 def test_check_output_input_none_universal_newlines(self): argument
242 def test_check_output_input_none_encoding_errors(self): argument
248 def test_check_output_stdout_arg(self): argument
257 def test_check_output_stdin_with_input_arg(self): argument
271 def test_check_output_timeout(self): argument
286 def test_call_kwargs(self): argument
296 def test_invalid_args(self): argument
306 def test_stdin_none(self): argument
315 def test_stdout_none(self): argument
338 def test_stderr_none(self): argument
347 def _assert_python(self, pre_args, **kwargs): argument
355 def test_executable(self): argument
366 def test_bytes_executable(self): argument
372 def test_pathlike_executable(self): argument
378 def test_executable_takes_precedence(self): argument
389 def test_executable_replaces_shell(self): argument
395 def test_bytes_executable_replaces_shell(self): argument
400 def test_pathlike_executable_replaces_shell(self): argument
405 def _normalize_cwd(self, cwd): argument
413 def _split_python_path(self): argument
419 def _assert_cwd(self, expected_cwd, python_arg, **kwargs): argument
438 def test_cwd(self): argument
444 def test_cwd_with_bytes(self): argument
449 def test_cwd_with_pathlike(self): argument
455 def test_cwd_with_relative_arg(self): argument
471 def test_cwd_with_relative_executable(self): argument
489 def test_cwd_with_absolute_arg(self): argument
505 def test_executable_with_cwd(self): argument
515 def test_executable_without_cwd(self): argument
521 def test_stdin_pipe(self): argument
531 def test_stdin_filedes(self): argument
544 def test_stdin_fileobj(self): argument
556 def test_stdout_pipe(self): argument
564 def test_stdout_filedes(self): argument
576 def test_stdout_fileobj(self): argument
587 def test_stderr_pipe(self): argument
595 def test_stderr_filedes(self): argument
607 def test_stderr_fileobj(self): argument
618 def test_stderr_redirect_with_no_stdout_redirect(self): argument
639 def test_stdout_stderr_pipe(self): argument
651 def test_stdout_stderr_file(self): argument
666 def test_stdout_filedes_of_stdout(self): argument
685 def test_stdout_devnull(self): argument
693 def test_stderr_devnull(self): argument
702 def test_stdin_devnull(self): argument
712 def test_pipesizes(self): argument
748 def test_pipesize_default(self): argument
775 def test_env(self): argument
795 def test_empty_env(self): argument
817 def test_invalid_cmd(self): argument
827 def test_invalid_env(self): argument
857 def test_communicate_stdin(self): argument
865 def test_communicate_stdout(self): argument
873 def test_communicate_stderr(self): argument
881 def test_communicate(self): argument
896 def test_communicate_timeout(self): argument
915 def test_communicate_timeout_large_output(self): argument
932 def test_communicate_pipe_fd_leak(self): argument
954 def test_communicate_returns(self): argument
962 def test_communicate_pipe_buf(self): argument
985 def test_writes_before_communicate(self): argument
1001 def test_universal_newlines_and_text(self): argument
1040 def test_universal_newlines_communicate(self): argument
1065 def test_universal_newlines_communicate_stdin(self): argument
1079 def test_universal_newlines_communicate_input_none(self): argument
1091 def test_universal_newlines_communicate_stdin_stdout_stderr(self): argument
1119 def test_universal_newlines_communicate_encodings(self): argument
1141 def test_communicate_errors(self): argument
1162 def test_no_leaking(self): argument
1201 def test_list2cmdline(self): argument
1219 def test_poll(self): argument
1230 def test_wait(self): argument
1236 def test_wait_timeout(self): argument
1244 def test_invalid_bufsize(self): argument
1250 def test_bufsize_is_none(self): argument
1258 def _test_bufsize_equal_one(self, line, expected, universal_newlines): argument
1280 def test_bufsize_equal_one_text_mode(self): argument
1286 def test_bufsize_equal_one_binary_mode(self): argument
1293 def test_leaking_fds_on_error(self): argument
1305 def test_nonexisting_with_pipes(self): argument
1346 def test_double_close_on_error(self): argument
1375 def test_threadsafe_wait(self): argument
1427 def test_issue8780(self): argument
1438 def test_handles_closed_on_exception(self): argument
1458 def test_communicate_epipe(self): argument
1469 def test_repr(self): argument
1488 def test_communicate_epipe_only_stdin(self): argument
1502 def test_communicate_eintr(self): argument
1523 def test_failed_child_execute_fd_leak(self): argument
1540 def test_file_not_found_includes_filename(self): argument
1546 def test_file_not_found_with_bad_cwd(self): argument
1551 def test_class_getitems(self): argument
1558 def test__use_vfork(self, mock_fork_exec): argument
1572 def run_python(self, code, **kwargs): argument
1577 def test_returncode(self): argument
1584 def test_check(self): argument
1589 def test_check_zero(self): argument
1594 def test_timeout(self): argument
1602 def test_capture_stdout(self): argument
1607 def test_capture_stderr(self): argument
1612 def test_check_output_stdin_arg(self): argument
1623 def test_check_output_input_arg(self): argument
1630 def test_check_output_stdin_with_input_arg(self): argument
1643 def test_check_output_timeout(self): argument
1657 def test_run_kwargs(self): argument
1665 def test_run_with_pathlike_path(self): argument
1679 def test_run_with_bytes_path_and_arguments(self): argument
1686 def test_run_with_pathlike_path_and_arguments(self): argument
1693 def test_capture_output(self): argument
1701 def test_stdout_with_capture_output_arg(self): argument
1713 def test_stderr_with_capture_output_arg(self): argument
1730 def test_run_with_shell_timeout_and_capture_output(self): argument
1745 def test_encoding_warning(self): argument
1774 def setUp(self): argument
1778 def _get_chdir_exception(self): argument
1791 def test_exception_cwd(self): argument
1806 def test_exception_bad_executable(self): argument
1821 def test_exception_bad_args_0(self): argument
1843 def __del__(self): argument
1847 def test_exception_errpipe_normal(self, fork_exec): argument
1864 def test_exception_errpipe_bad_data(self, fork_exec): argument
1887 def test_restore_signals(self): argument
1909 def test_start_new_session(self): argument
1927 def test_process_group_0(self): argument
1944 def test_user(self): argument
1996 def test_user_error(self): argument
2001 def test_group(self): argument
2043 def test_group_error(self): argument
2048 def test_extra_groups(self): argument
2097 def test_extra_groups_error(self): argument
2103 def test_umask(self): argument
2123 def test_run_abort(self): argument
2131 def test_CalledProcessError_str_signal(self): argument
2142 def test_CalledProcessError_str_unknown_signal(self): argument
2147 def test_CalledProcessError_str_non_zero(self): argument
2152 def test_preexec(self): argument
2163 def test_preexec_exception(self): argument
2181 def __init__(self, testcase, *args, **kwargs): argument
2185 def _execute_child(self, *args, **kwargs): argument
2205 def test_preexec_errpipe_does_not_double_close_pipes(self): argument
2218 def test_preexec_gc_module_failure(self): argument
2241 def test_preexec_fork_failure(self): argument
2261 def test_args_string(self): argument
2275 def test_invalid_args(self): argument
2286 def test_shell_sequence(self): argument
2296 def test_shell_string(self): argument
2306 def test_call_string(self): argument
2319 def test_specific_shell(self): argument
2339 def _kill_process(self, method, *args): argument
2366 def _kill_dead_process(self, method, *args): argument
2387 def test_send_signal(self): argument
2393 def test_kill(self): argument
2399 def test_terminate(self): argument
2405 def test_send_signal_dead(self): argument
2409 def test_kill_dead(self): argument
2413 def test_terminate_dead(self): argument
2417 def _save_fds(self, save_fds): argument
2425 def _restore_fds(self, fds): argument
2430 def check_close_std_fds(self, fds): argument
2455 def test_close_fd_0(self): argument
2458 def test_close_fd_1(self): argument
2461 def test_close_fd_2(self): argument
2464 def test_close_fds_0_1(self): argument
2467 def test_close_fds_0_2(self): argument
2470 def test_close_fds_1_2(self): argument
2473 def test_close_fds_0_1_2(self): argument
2478 def test_small_errpipe_write_fd(self): argument
2499 def test_remapping_std_fds(self): argument
2544 def check_swap_fds(self, stdin_no, stdout_no, stderr_no): argument
2592 def test_swap_fds(self): argument
2600 def _check_swap_std_fds_with_one_closed(self, from_fds, to_fds): argument
2644 def test_swap_std_fds_with_one_closed(self): argument
2649 def test_surrogates_error_message(self): argument
2668 def test_undecodable_env(self): argument
2697 def test_bytes_program(self): argument
2724 def test_pipe_cloexec(self): argument
2747 def test_pipe_cloexec_real_tools(self): argument
2788 def test_close_fds(self): argument
2839 def test_close_fds_when_max_fd_is_lowered(self): argument
2920 def test_pass_fds(self): argument
2953 def test_pass_fds_inheritable(self): argument
2983 def test_pass_fds_redirected(self): argument
3009 def test_stdout_stdin_are_single_inout_fd(self): argument
3015 def test_stdout_stderr_are_single_inout_fd(self): argument
3021 def test_stderr_stdin_are_single_inout_fd(self): argument
3027 def test_wait_when_sigchild_ignored(self): argument
3038 def test_select_unbuffered(self): argument
3055 def test_zombie_fast_process_del(self): argument
3079 def test_leak_fast_process_del_killed(self): argument
3122 def test_close_fds_after_preexec(self): argument
3140 def test_fork_exec(self): argument
3180 def test_fork_exec_sorted_fd_sanity_check(self): argument
3185 def __init__(self, value): argument
3187 def __int__(self): argument
3221 def test_communicate_BrokenPipeError_stdin_close(self): argument
3230 def test_communicate_BrokenPipeError_stdin_write(self): argument
3240 def test_communicate_BrokenPipeError_stdin_flush(self): argument
3255 def test_communicate_BrokenPipeError_stdin_close_with_timeout(self): argument
3270 def test_stopped(self): argument
3284 def test_send_signal_race(self): argument
3306 def test_send_signal_race2(self): argument
3320 def test_communicate_repeated_call_after_stdout_close(self): argument
3335 def test_startupinfo(self): argument
3350 def test_startupinfo_keywords(self): argument
3366 def test_startupinfo_copy(self): argument
3393 def test_creationflags(self): argument
3401 def test_invalid_args(self): argument
3409 def test_issue31471(self): argument
3417 def test_close_fds(self): argument
3424 def test_close_fds_with_stdio(self): argument
3474 def test_empty_attribute_list(self): argument
3480 def test_empty_handle_list(self): argument
3486 def test_shell_sequence(self): argument
3496 def test_shell_string(self): argument
3506 def test_shell_encodings(self): argument
3518 def test_call_string(self): argument
3524 def _kill_process(self, method, *args): argument
3545 def _kill_dead_process(self, method, *args): argument
3568 def test_send_signal(self): argument
3571 def test_kill(self): argument
3574 def test_terminate(self): argument
3577 def test_send_signal_dead(self): argument
3580 def test_kill_dead(self): argument
3583 def test_terminate_dead(self): argument
3592 def __init__(self, *args, **kwargs): argument
3597 def _test_keyboardinterrupt_no_kill(self, popener, mock__communicate, argument
3640 def test_call_keyboardinterrupt_no_kill(self): argument
3643 def test_run_keyboardinterrupt_no_kill(self): argument
3646 def test_context_manager_keyboardinterrupt_no_kill(self): argument
3652 def test_getoutput(self): argument
3671 def test__all__(self): argument
3689 def setUp(self): argument
3694 def tearDown(self): argument
3702 def setUp(self): argument
3711 def tearDown(self): argument
3715 def with_spaces(self, *args, **kwargs): argument
3724 def test_shell_string_with_spaces(self): argument
3729 def test_shell_sequence_with_spaces(self): argument
3733 def test_noshell_string_with_spaces(self): argument
3738 def test_noshell_sequence_with_spaces(self): argument
3745 def test_pipe(self): argument
3758 def test_returncode(self): argument
3765 def test_communicate_stdin(self): argument
3773 def test_invalid_args(self): argument
3780 def test_broken_pipe_cleanup(self): argument