• Home
  • Raw
  • Download

Lines Matching defs:self

81     def setUp(self):  argument
86 def tearDown(self): argument
107 def _execute_child(self, *args, **kwargs): argument
113 def test_io_buffered_by_default(self): argument
127 def test_io_unbuffered_works(self): argument
141 def test_call_seq(self): argument
147 def test_call_timeout(self): argument
156 def test_check_call_zero(self): argument
161 def test_check_call_nonzero(self): argument
168 def test_check_output(self): argument
174 def test_check_output_nonzero(self): argument
181 def test_check_output_stderr(self): argument
188 def test_check_output_stdin_arg(self): argument
200 def test_check_output_input_arg(self): argument
208 def test_check_output_input_none(self): argument
216 def test_check_output_input_none_text(self): argument
223 def test_check_output_input_none_universal_newlines(self): argument
230 def test_check_output_stdout_arg(self): argument
239 def test_check_output_stdin_with_input_arg(self): argument
253 def test_check_output_timeout(self): argument
268 def test_call_kwargs(self): argument
278 def test_invalid_args(self): argument
288 def test_stdin_none(self): argument
297 def test_stdout_none(self): argument
320 def test_stderr_none(self): argument
329 def _assert_python(self, pre_args, **kwargs): argument
337 def test_executable(self): argument
348 def test_bytes_executable(self): argument
354 def test_pathlike_executable(self): argument
360 def test_executable_takes_precedence(self): argument
371 def test_executable_replaces_shell(self): argument
377 def test_bytes_executable_replaces_shell(self): argument
382 def test_pathlike_executable_replaces_shell(self): argument
387 def _normalize_cwd(self, cwd): argument
395 def _split_python_path(self): argument
401 def _assert_cwd(self, expected_cwd, python_arg, **kwargs): argument
420 def test_cwd(self): argument
426 def test_cwd_with_bytes(self): argument
431 def test_cwd_with_pathlike(self): argument
437 def test_cwd_with_relative_arg(self): argument
453 def test_cwd_with_relative_executable(self): argument
471 def test_cwd_with_absolute_arg(self): argument
487 def test_executable_with_cwd(self): argument
497 def test_executable_without_cwd(self): argument
503 def test_stdin_pipe(self): argument
513 def test_stdin_filedes(self): argument
526 def test_stdin_fileobj(self): argument
538 def test_stdout_pipe(self): argument
546 def test_stdout_filedes(self): argument
558 def test_stdout_fileobj(self): argument
569 def test_stderr_pipe(self): argument
577 def test_stderr_filedes(self): argument
589 def test_stderr_fileobj(self): argument
600 def test_stderr_redirect_with_no_stdout_redirect(self): argument
621 def test_stdout_stderr_pipe(self): argument
633 def test_stdout_stderr_file(self): argument
648 def test_stdout_filedes_of_stdout(self): argument
667 def test_stdout_devnull(self): argument
675 def test_stderr_devnull(self): argument
684 def test_stdin_devnull(self): argument
694 def test_pipesizes(self): argument
728 def test_pipesize_default(self): argument
753 def test_env(self): argument
771 def test_empty_env(self): argument
793 def test_invalid_cmd(self): argument
803 def test_invalid_env(self): argument
833 def test_communicate_stdin(self): argument
841 def test_communicate_stdout(self): argument
849 def test_communicate_stderr(self): argument
857 def test_communicate(self): argument
872 def test_communicate_timeout(self): argument
891 def test_communicate_timeout_large_output(self): argument
908 def test_communicate_pipe_fd_leak(self): argument
930 def test_communicate_returns(self): argument
938 def test_communicate_pipe_buf(self): argument
961 def test_writes_before_communicate(self): argument
977 def test_universal_newlines_and_text(self): argument
1016 def test_universal_newlines_communicate(self): argument
1041 def test_universal_newlines_communicate_stdin(self): argument
1055 def test_universal_newlines_communicate_input_none(self): argument
1067 def test_universal_newlines_communicate_stdin_stdout_stderr(self): argument
1095 def test_universal_newlines_communicate_encodings(self): argument
1117 def test_communicate_errors(self): argument
1138 def test_no_leaking(self): argument
1177 def test_list2cmdline(self): argument
1195 def test_poll(self): argument
1206 def test_wait(self): argument
1212 def test_wait_timeout(self): argument
1220 def test_invalid_bufsize(self): argument
1226 def test_bufsize_is_none(self): argument
1234 def _test_bufsize_equal_one(self, line, expected, universal_newlines): argument
1256 def test_bufsize_equal_one_text_mode(self): argument
1262 def test_bufsize_equal_one_binary_mode(self): argument
1269 def test_leaking_fds_on_error(self): argument
1281 def test_nonexisting_with_pipes(self): argument
1322 def test_double_close_on_error(self): argument
1351 def test_threadsafe_wait(self): argument
1403 def test_issue8780(self): argument
1414 def test_handles_closed_on_exception(self): argument
1434 def test_communicate_epipe(self): argument
1445 def test_repr(self): argument
1464 def test_communicate_epipe_only_stdin(self): argument
1478 def test_communicate_eintr(self): argument
1499 def test_failed_child_execute_fd_leak(self): argument
1516 def test_file_not_found_includes_filename(self): argument
1522 def test_file_not_found_with_bad_cwd(self): argument
1527 def test_class_getitems(self): argument
1532 def run_python(self, code, **kwargs): argument
1537 def test_returncode(self): argument
1544 def test_check(self): argument
1549 def test_check_zero(self): argument
1554 def test_timeout(self): argument
1562 def test_capture_stdout(self): argument
1567 def test_capture_stderr(self): argument
1572 def test_check_output_stdin_arg(self): argument
1583 def test_check_output_input_arg(self): argument
1590 def test_check_output_stdin_with_input_arg(self): argument
1603 def test_check_output_timeout(self): argument
1617 def test_run_kwargs(self): argument
1625 def test_run_with_pathlike_path(self): argument
1639 def test_run_with_bytes_path_and_arguments(self): argument
1646 def test_run_with_pathlike_path_and_arguments(self): argument
1653 def test_capture_output(self): argument
1661 def test_stdout_with_capture_output_arg(self): argument
1673 def test_stderr_with_capture_output_arg(self): argument
1690 def test_run_with_shell_timeout_and_capture_output(self): argument
1721 def setUp(self): argument
1725 def _get_chdir_exception(self): argument
1738 def test_exception_cwd(self): argument
1753 def test_exception_bad_executable(self): argument
1768 def test_exception_bad_args_0(self): argument
1790 def __del__(self): argument
1794 def test_exception_errpipe_normal(self, fork_exec): argument
1811 def test_exception_errpipe_bad_data(self, fork_exec): argument
1834 def test_restore_signals(self): argument
1856 def test_start_new_session(self): argument
1873 def test_user(self): argument
1925 def test_user_error(self): argument
1930 def test_group(self): argument
1972 def test_group_error(self): argument
1977 def test_extra_groups(self): argument
2026 def test_extra_groups_error(self): argument
2032 def test_umask(self): argument
2052 def test_run_abort(self): argument
2060 def test_CalledProcessError_str_signal(self): argument
2071 def test_CalledProcessError_str_unknown_signal(self): argument
2076 def test_CalledProcessError_str_non_zero(self): argument
2081 def test_preexec(self): argument
2092 def test_preexec_exception(self): argument
2110 def __init__(self, testcase, *args, **kwargs): argument
2114 def _execute_child(self, *args, **kwargs): argument
2134 def test_preexec_errpipe_does_not_double_close_pipes(self): argument
2147 def test_preexec_gc_module_failure(self): argument
2170 def test_preexec_fork_failure(self): argument
2190 def test_args_string(self): argument
2204 def test_invalid_args(self): argument
2215 def test_shell_sequence(self): argument
2225 def test_shell_string(self): argument
2235 def test_call_string(self): argument
2248 def test_specific_shell(self): argument
2268 def _kill_process(self, method, *args): argument
2295 def _kill_dead_process(self, method, *args): argument
2316 def test_send_signal(self): argument
2322 def test_kill(self): argument
2328 def test_terminate(self): argument
2334 def test_send_signal_dead(self): argument
2338 def test_kill_dead(self): argument
2342 def test_terminate_dead(self): argument
2346 def _save_fds(self, save_fds): argument
2354 def _restore_fds(self, fds): argument
2359 def check_close_std_fds(self, fds): argument
2384 def test_close_fd_0(self): argument
2387 def test_close_fd_1(self): argument
2390 def test_close_fd_2(self): argument
2393 def test_close_fds_0_1(self): argument
2396 def test_close_fds_0_2(self): argument
2399 def test_close_fds_1_2(self): argument
2402 def test_close_fds_0_1_2(self): argument
2407 def test_small_errpipe_write_fd(self): argument
2428 def test_remapping_std_fds(self): argument
2473 def check_swap_fds(self, stdin_no, stdout_no, stderr_no): argument
2521 def test_swap_fds(self): argument
2529 def _check_swap_std_fds_with_one_closed(self, from_fds, to_fds): argument
2573 def test_swap_std_fds_with_one_closed(self): argument
2578 def test_surrogates_error_message(self): argument
2597 def test_undecodable_env(self): argument
2626 def test_bytes_program(self): argument
2653 def test_pipe_cloexec(self): argument
2676 def test_pipe_cloexec_real_tools(self): argument
2717 def test_close_fds(self): argument
2768 def test_close_fds_when_max_fd_is_lowered(self): argument
2849 def test_pass_fds(self): argument
2882 def test_pass_fds_inheritable(self): argument
2912 def test_pass_fds_redirected(self): argument
2938 def test_stdout_stdin_are_single_inout_fd(self): argument
2944 def test_stdout_stderr_are_single_inout_fd(self): argument
2950 def test_stderr_stdin_are_single_inout_fd(self): argument
2956 def test_wait_when_sigchild_ignored(self): argument
2967 def test_select_unbuffered(self): argument
2984 def test_zombie_fast_process_del(self): argument
3008 def test_leak_fast_process_del_killed(self): argument
3051 def test_close_fds_after_preexec(self): argument
3069 def test_fork_exec(self): argument
3109 def test_fork_exec_sorted_fd_sanity_check(self): argument
3114 def __init__(self, value): argument
3116 def __int__(self): argument
3150 def test_communicate_BrokenPipeError_stdin_close(self): argument
3159 def test_communicate_BrokenPipeError_stdin_write(self): argument
3169 def test_communicate_BrokenPipeError_stdin_flush(self): argument
3184 def test_communicate_BrokenPipeError_stdin_close_with_timeout(self): argument
3199 def test_stopped(self): argument
3213 def test_send_signal_race(self): argument
3235 def test_send_signal_race2(self): argument
3248 def test_communicate_repeated_call_after_stdout_close(self): argument
3263 def test_startupinfo(self): argument
3278 def test_startupinfo_keywords(self): argument
3294 def test_startupinfo_copy(self): argument
3321 def test_creationflags(self): argument
3329 def test_invalid_args(self): argument
3337 def test_issue31471(self): argument
3345 def test_close_fds(self): argument
3352 def test_close_fds_with_stdio(self): argument
3402 def test_empty_attribute_list(self): argument
3408 def test_empty_handle_list(self): argument
3414 def test_shell_sequence(self): argument
3424 def test_shell_string(self): argument
3434 def test_shell_encodings(self): argument
3446 def test_call_string(self): argument
3452 def _kill_process(self, method, *args): argument
3473 def _kill_dead_process(self, method, *args): argument
3496 def test_send_signal(self): argument
3499 def test_kill(self): argument
3502 def test_terminate(self): argument
3505 def test_send_signal_dead(self): argument
3508 def test_kill_dead(self): argument
3511 def test_terminate_dead(self): argument
3520 def __init__(self, *args, **kwargs): argument
3525 def _test_keyboardinterrupt_no_kill(self, popener, mock__communicate, argument
3568 def test_call_keyboardinterrupt_no_kill(self): argument
3571 def test_run_keyboardinterrupt_no_kill(self): argument
3574 def test_context_manager_keyboardinterrupt_no_kill(self): argument
3580 def test_getoutput(self): argument
3599 def test__all__(self): argument
3617 def setUp(self): argument
3622 def tearDown(self): argument
3630 def setUp(self): argument
3639 def tearDown(self): argument
3643 def with_spaces(self, *args, **kwargs): argument
3652 def test_shell_string_with_spaces(self): argument
3657 def test_shell_sequence_with_spaces(self): argument
3661 def test_noshell_string_with_spaces(self): argument
3666 def test_noshell_sequence_with_spaces(self): argument
3673 def test_pipe(self): argument
3686 def test_returncode(self): argument
3693 def test_communicate_stdin(self): argument
3701 def test_invalid_args(self): argument
3708 def test_broken_pipe_cleanup(self): argument