• Home
  • Raw
  • Download

Lines Matching defs:self

72     def setUp(self):  argument
77 def tearDown(self): argument
98 def _execute_child(self, *args, **kwargs): argument
104 def test_io_buffered_by_default(self): argument
118 def test_io_unbuffered_works(self): argument
132 def test_call_seq(self): argument
138 def test_call_timeout(self): argument
147 def test_check_call_zero(self): argument
152 def test_check_call_nonzero(self): argument
159 def test_check_output(self): argument
165 def test_check_output_nonzero(self): argument
172 def test_check_output_stderr(self): argument
179 def test_check_output_stdin_arg(self): argument
191 def test_check_output_input_arg(self): argument
199 def test_check_output_stdout_arg(self): argument
208 def test_check_output_stdin_with_input_arg(self): argument
222 def test_check_output_timeout(self): argument
237 def test_call_kwargs(self): argument
247 def test_invalid_args(self): argument
257 def test_stdin_none(self): argument
266 def test_stdout_none(self): argument
289 def test_stderr_none(self): argument
298 def _assert_python(self, pre_args, **kwargs): argument
306 def test_executable(self): argument
317 def test_bytes_executable(self): argument
323 def test_pathlike_executable(self): argument
329 def test_executable_takes_precedence(self): argument
340 def test_executable_replaces_shell(self): argument
346 def test_bytes_executable_replaces_shell(self): argument
351 def test_pathlike_executable_replaces_shell(self): argument
356 def _normalize_cwd(self, cwd): argument
364 def _split_python_path(self): argument
370 def _assert_cwd(self, expected_cwd, python_arg, **kwargs): argument
389 def test_cwd(self): argument
395 def test_cwd_with_bytes(self): argument
400 def test_cwd_with_pathlike(self): argument
406 def test_cwd_with_relative_arg(self): argument
422 def test_cwd_with_relative_executable(self): argument
440 def test_cwd_with_absolute_arg(self): argument
456 def test_executable_with_cwd(self): argument
466 def test_executable_without_cwd(self): argument
472 def test_stdin_pipe(self): argument
482 def test_stdin_filedes(self): argument
495 def test_stdin_fileobj(self): argument
507 def test_stdout_pipe(self): argument
515 def test_stdout_filedes(self): argument
527 def test_stdout_fileobj(self): argument
538 def test_stderr_pipe(self): argument
546 def test_stderr_filedes(self): argument
558 def test_stderr_fileobj(self): argument
569 def test_stderr_redirect_with_no_stdout_redirect(self): argument
590 def test_stdout_stderr_pipe(self): argument
602 def test_stdout_stderr_file(self): argument
617 def test_stdout_filedes_of_stdout(self): argument
636 def test_stdout_devnull(self): argument
644 def test_stderr_devnull(self): argument
653 def test_stdin_devnull(self): argument
661 def test_env(self): argument
679 def test_empty_env(self): argument
701 def test_invalid_cmd(self): argument
711 def test_invalid_env(self): argument
741 def test_communicate_stdin(self): argument
749 def test_communicate_stdout(self): argument
757 def test_communicate_stderr(self): argument
765 def test_communicate(self): argument
780 def test_communicate_timeout(self): argument
799 def test_communicate_timeout_large_output(self): argument
816 def test_communicate_pipe_fd_leak(self): argument
838 def test_communicate_returns(self): argument
846 def test_communicate_pipe_buf(self): argument
869 def test_writes_before_communicate(self): argument
885 def test_universal_newlines_and_text(self): argument
924 def test_universal_newlines_communicate(self): argument
949 def test_universal_newlines_communicate_stdin(self): argument
963 def test_universal_newlines_communicate_input_none(self): argument
975 def test_universal_newlines_communicate_stdin_stdout_stderr(self): argument
1003 def test_universal_newlines_communicate_encodings(self): argument
1025 def test_communicate_errors(self): argument
1046 def test_no_leaking(self): argument
1085 def test_list2cmdline(self): argument
1103 def test_poll(self): argument
1114 def test_wait(self): argument
1120 def test_wait_timeout(self): argument
1128 def test_invalid_bufsize(self): argument
1134 def test_bufsize_is_none(self): argument
1142 def _test_bufsize_equal_one(self, line, expected, universal_newlines): argument
1164 def test_bufsize_equal_one_text_mode(self): argument
1170 def test_bufsize_equal_one_binary_mode(self): argument
1177 def test_leaking_fds_on_error(self): argument
1189 def test_nonexisting_with_pipes(self): argument
1230 def test_double_close_on_error(self): argument
1259 def test_threadsafe_wait(self): argument
1311 def test_issue8780(self): argument
1322 def test_handles_closed_on_exception(self): argument
1342 def test_communicate_epipe(self): argument
1353 def test_repr(self): argument
1377 def test_communicate_epipe_only_stdin(self): argument
1391 def test_communicate_eintr(self): argument
1412 def test_failed_child_execute_fd_leak(self): argument
1429 def test_file_not_found_includes_filename(self): argument
1435 def test_file_not_found_with_bad_cwd(self): argument
1440 def test_class_getitems(self): argument
1445 def run_python(self, code, **kwargs): argument
1450 def test_returncode(self): argument
1457 def test_check(self): argument
1462 def test_check_zero(self): argument
1467 def test_timeout(self): argument
1475 def test_capture_stdout(self): argument
1480 def test_capture_stderr(self): argument
1485 def test_check_output_stdin_arg(self): argument
1496 def test_check_output_input_arg(self): argument
1503 def test_check_output_stdin_with_input_arg(self): argument
1516 def test_check_output_timeout(self): argument
1530 def test_run_kwargs(self): argument
1538 def test_run_with_pathlike_path(self): argument
1552 def test_run_with_bytes_path_and_arguments(self): argument
1559 def test_run_with_pathlike_path_and_arguments(self): argument
1566 def test_capture_output(self): argument
1574 def test_stdout_with_capture_output_arg(self): argument
1586 def test_stderr_with_capture_output_arg(self): argument
1603 def test_run_with_shell_timeout_and_capture_output(self): argument
1634 def setUp(self): argument
1638 def _get_chdir_exception(self): argument
1651 def test_exception_cwd(self): argument
1666 def test_exception_bad_executable(self): argument
1681 def test_exception_bad_args_0(self): argument
1703 def __del__(self): argument
1707 def test_exception_errpipe_normal(self, fork_exec): argument
1724 def test_exception_errpipe_bad_data(self, fork_exec): argument
1747 def test_restore_signals(self): argument
1769 def test_start_new_session(self): argument
1786 def test_user(self): argument
1838 def test_user_error(self): argument
1843 def test_group(self): argument
1885 def test_group_error(self): argument
1890 def test_extra_groups(self): argument
1939 def test_extra_groups_error(self): argument
1945 def test_umask(self): argument
1965 def test_run_abort(self): argument
1973 def test_CalledProcessError_str_signal(self): argument
1984 def test_CalledProcessError_str_unknown_signal(self): argument
1989 def test_CalledProcessError_str_non_zero(self): argument
1994 def test_preexec(self): argument
2005 def test_preexec_exception(self): argument
2023 def __init__(self, testcase, *args, **kwargs): argument
2027 def _execute_child(self, *args, **kwargs): argument
2047 def test_preexec_errpipe_does_not_double_close_pipes(self): argument
2060 def test_preexec_gc_module_failure(self): argument
2099 def test_preexec_fork_failure(self): argument
2119 def test_args_string(self): argument
2133 def test_invalid_args(self): argument
2144 def test_shell_sequence(self): argument
2154 def test_shell_string(self): argument
2164 def test_call_string(self): argument
2177 def test_specific_shell(self): argument
2197 def _kill_process(self, method, *args): argument
2224 def _kill_dead_process(self, method, *args): argument
2245 def test_send_signal(self): argument
2251 def test_kill(self): argument
2257 def test_terminate(self): argument
2263 def test_send_signal_dead(self): argument
2267 def test_kill_dead(self): argument
2271 def test_terminate_dead(self): argument
2275 def _save_fds(self, save_fds): argument
2283 def _restore_fds(self, fds): argument
2288 def check_close_std_fds(self, fds): argument
2313 def test_close_fd_0(self): argument
2316 def test_close_fd_1(self): argument
2319 def test_close_fd_2(self): argument
2322 def test_close_fds_0_1(self): argument
2325 def test_close_fds_0_2(self): argument
2328 def test_close_fds_1_2(self): argument
2331 def test_close_fds_0_1_2(self): argument
2336 def test_small_errpipe_write_fd(self): argument
2357 def test_remapping_std_fds(self): argument
2402 def check_swap_fds(self, stdin_no, stdout_no, stderr_no): argument
2450 def test_swap_fds(self): argument
2458 def _check_swap_std_fds_with_one_closed(self, from_fds, to_fds): argument
2502 def test_swap_std_fds_with_one_closed(self): argument
2507 def test_surrogates_error_message(self): argument
2526 def test_undecodable_env(self): argument
2555 def test_bytes_program(self): argument
2582 def test_pipe_cloexec(self): argument
2605 def test_pipe_cloexec_real_tools(self): argument
2646 def test_close_fds(self): argument
2697 def test_close_fds_when_max_fd_is_lowered(self): argument
2778 def test_pass_fds(self): argument
2811 def test_pass_fds_inheritable(self): argument
2841 def test_pass_fds_redirected(self): argument
2867 def test_stdout_stdin_are_single_inout_fd(self): argument
2873 def test_stdout_stderr_are_single_inout_fd(self): argument
2879 def test_stderr_stdin_are_single_inout_fd(self): argument
2885 def test_wait_when_sigchild_ignored(self): argument
2896 def test_select_unbuffered(self): argument
2913 def test_zombie_fast_process_del(self): argument
2937 def test_leak_fast_process_del_killed(self): argument
2979 def test_close_fds_after_preexec(self): argument
2997 def test_fork_exec(self): argument
3037 def test_fork_exec_sorted_fd_sanity_check(self): argument
3042 def __init__(self, value): argument
3044 def __int__(self): argument
3078 def test_communicate_BrokenPipeError_stdin_close(self): argument
3087 def test_communicate_BrokenPipeError_stdin_write(self): argument
3097 def test_communicate_BrokenPipeError_stdin_flush(self): argument
3112 def test_communicate_BrokenPipeError_stdin_close_with_timeout(self): argument
3127 def test_stopped(self): argument
3141 def test_send_signal_race(self): argument
3163 def test_send_signal_race2(self): argument
3176 def test_communicate_repeated_call_after_stdout_close(self): argument
3191 def test_startupinfo(self): argument
3206 def test_startupinfo_keywords(self): argument
3222 def test_startupinfo_copy(self): argument
3249 def test_creationflags(self): argument
3257 def test_invalid_args(self): argument
3265 def test_issue31471(self): argument
3273 def test_close_fds(self): argument
3280 def test_close_fds_with_stdio(self): argument
3329 def test_empty_attribute_list(self): argument
3335 def test_empty_handle_list(self): argument
3341 def test_shell_sequence(self): argument
3351 def test_shell_string(self): argument
3361 def test_shell_encodings(self): argument
3373 def test_call_string(self): argument
3379 def _kill_process(self, method, *args): argument
3400 def _kill_dead_process(self, method, *args): argument
3423 def test_send_signal(self): argument
3426 def test_kill(self): argument
3429 def test_terminate(self): argument
3432 def test_send_signal_dead(self): argument
3435 def test_kill_dead(self): argument
3438 def test_terminate_dead(self): argument
3447 def __init__(self, *args, **kwargs): argument
3452 def _test_keyboardinterrupt_no_kill(self, popener, mock__communicate, argument
3495 def test_call_keyboardinterrupt_no_kill(self): argument
3498 def test_run_keyboardinterrupt_no_kill(self): argument
3501 def test_context_manager_keyboardinterrupt_no_kill(self): argument
3507 def test_getoutput(self): argument
3526 def test__all__(self): argument
3544 def setUp(self): argument
3549 def tearDown(self): argument
3557 def setUp(self): argument
3566 def tearDown(self): argument
3570 def with_spaces(self, *args, **kwargs): argument
3579 def test_shell_string_with_spaces(self): argument
3584 def test_shell_sequence_with_spaces(self): argument
3588 def test_noshell_string_with_spaces(self): argument
3593 def test_noshell_sequence_with_spaces(self): argument
3600 def test_pipe(self): argument
3613 def test_returncode(self): argument
3620 def test_communicate_stdin(self): argument
3628 def test_invalid_args(self): argument
3635 def test_broken_pipe_cleanup(self): argument