Home
last modified time | relevance | path

Searched defs:self (Results 1 – 25 of 5677) sorted by relevance

12345678910>>...228

/third_party/python/Lib/test/test_email/
Dtest__header_value_parser.py12 def test_EWWhiteSpaceTerminal(self): argument
22 def _assert_results(self, tl, rest, string, value, defects, remainder, argument
31 def _test_get_x(self, method, source, string, value, defects, argument
38 def _test_parse_x(self, method, input, string, value, defects, argument
54 def test__wsp_splitter_one_word(self): argument
57 def test__wsp_splitter_two_words(self): argument
61 def test__wsp_splitter_ws_runs(self): argument
68 def test_get_fws_only(self): argument
72 def test_get_fws_space(self): argument
75 def test_get_fws_ws_run(self): argument
[all …]
Dtest_email.py58 def test_get_all(self): argument
64 def test_getset_charset(self): argument
90 def test_set_charset_from_string(self): argument
97 def test_set_payload_with_charset(self): argument
103 def test_set_payload_with_8bit_data_and_charset(self): argument
112 def test_set_payload_with_non_ascii_and_charset_body_encoding_none(self): argument
121 def test_set_payload_with_8bit_data_and_charset_body_encoding_none(self): argument
130 def test_set_payload_to_list(self): argument
135 def test_attach_when_payload_is_string(self): argument
143 def test_get_charsets(self): argument
[all …]
/third_party/python/Lib/test/test_sqlite3/
Dtest_dbapi.py59 def test_api_level(self): argument
63 def test_thread_safety(self): argument
68 def test_param_style(self): argument
73 def test_warning(self): argument
77 def test_error(self): argument
81 def test_interface_error(self): argument
85 def test_database_error(self): argument
89 def test_data_error(self): argument
93 def test_operational_error(self): argument
97 def test_integrity_error(self): argument
[all …]
/third_party/python/Lib/lib2to3/tests/
Dtest_fixers.py17 def setUp(self, fix_list=None, fixer_pkg="lib2to3", options=None): argument
28 def _check(self, before, after): argument
35 def check(self, before, after, ignore_warnings=False): argument
41 def warns(self, before, after, message, unchanged=False): argument
47 def warns_unchanged(self, before, message): argument
50 def unchanged(self, before, ignore_warnings=False): argument
55 def assert_runs_after(self, *names): argument
73 def test_basic(self): argument
81 def test_no_spaces(self): argument
89 def test_chained(self): argument
[all …]
Dtest_parser.py35 def test_formfeed(self): argument
43 def test_load_grammar_from_txt_file(self): argument
46 def test_load_grammar_from_pickle(self): argument
68 def test_load_grammar_from_subprocess(self): argument
110 def test_load_packaged_grammar(self): argument
113 def get_data(self, where): argument
125 def validate(self, code): argument
128 def invalid_syntax(self, code): argument
138 def test_matrix_multiplication_operator(self): argument
144 def test_yield_from(self): argument
[all …]
/third_party/python/Lib/test/
Dtest_posix.py54 def setUp(self): argument
63 def testNoArgFunctions(self): argument
81 def test_getresuid(self): argument
89 def test_getresgid(self): argument
97 def test_setresuid(self): argument
105 def test_setresuid_exception(self): argument
114 def test_setresgid(self): argument
122 def test_setresgid_exception(self): argument
132 def test_initgroups(self): argument
157 def test_statvfs(self): argument
[all …]
Dtest_minidom.py56 def confirm(self, test, testname = "Test"): argument
59 def checkWholeText(self, node, s): argument
63 def testDocumentAsyncAttr(self): argument
68 def testParseFromBinaryFile(self): argument
74 def testParseFromTextFile(self): argument
80 def testAttrModeSetsParamsAsAttrs(self): argument
87 def testAttrModeSetsNonOptionalAttrs(self): argument
94 def testGetElementsByTagName(self): argument
100 def testInsertBefore(self): argument
143 def _create_fragment_test_nodes(self): argument
[all …]
Dtest_re.py30 def __getitem__(self, index): argument
34 def __getitem__(self, index): argument
39 def assertTypedEqual(self, actual, expect, msg=None): argument
49 def checkPatternError(self, pattern, errmsg, pos=None): argument
58 def checkTemplateError(self, pattern, repl, string, errmsg, pos=None): argument
67 def test_keep_buffer(self): argument
78 def test_weakref(self): argument
84 def test_search_star_plus(self): argument
96 def test_branching(self): argument
113 def bump_num(self, matchobj): argument
[all …]
Dtest_subprocess.py85 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
[all …]
Dtest_lzma.py26 def test_simple_bad_args(self): argument
66 def test_bad_filter_spec(self): argument
77 def test_decompressor_after_eof(self): argument
82 def test_decompressor_memlimit(self): argument
94 def _test_decompressor(self, lzd, data, check, unused_data=b""): argument
102 def test_decompressor_auto(self): argument
109 def test_decompressor_xz(self): argument
113 def test_decompressor_alone(self): argument
117 def test_decompressor_raw_1(self): argument
121 def test_decompressor_raw_2(self): argument
[all …]
Dtest_bz2.py82 def setUp(self): argument
86 def tearDown(self): argument
93 def createTempFile(self, streams=1, suffix=b""): argument
98 def testBadArgs(self): argument
109 def testRead(self): argument
115 def testReadBadFile(self): argument
120 def testReadMultiStream(self): argument
126 def testReadMonkeyMultiStream(self): argument
139 def testReadTrailingJunk(self): argument
144 def testReadMultiStreamTrailingJunk(self): argument
[all …]
Dtest_smtpd.py18 def __init__(self, *args, **kwargs): argument
26 def process_message(self, peer, mailfrom, rcpttos, data, **kw): argument
39 def listen(self, num): argument
44 def setUp(self): argument
47 def test_process_message_unimplemented(self): argument
63 def test_decode_data_and_enable_SMTPUTF8_raises(self): argument
72 def tearDown(self): argument
79 def setUp(self): argument
82 def send_data(self, channel, data, enable_SMTPUTF8=False): argument
96 def test_process_message_with_decode_data_true(self): argument
[all …]
Dtest_gzip.py37 def seekable(self): argument
40 def tell(self): argument
43 def seek(self, *args): argument
50 def setUp(self): argument
53 def tearDown(self): argument
58 def write_and_read_back(self, data, mode='b'): argument
66 def test_write(self): argument
80 def test_write_read_with_pathlike_file(self): argument
95 def test_write_memoryview(self): argument
101 def test_write_bytearray(self): argument
[all …]
Dtest_urlparse.py73 def checkRoundtrips(self, url, parsed, split): argument
124 def test_qsl(self): argument
133 def test_qs(self): argument
143 def test_roundtrips(self): argument
178 def test_http_roundtrips(self): argument
216 def checkJoin(self, base, relurl, expected): argument
223 def test_unparse_parse(self): argument
230 def test_RFC1808(self): argument
278 def test_RFC2368(self): argument
283 def test_RFC2396(self): argument
[all …]
Dtest_pathlib.py28 def _check_parse_parts(self, arg, expected): argument
38 def test_parse_parts_common(self): argument
70 def test_parse_parts(self): argument
82 def test_splitroot(self): argument
106 def test_parse_parts(self): argument
140 def test_splitroot(self): argument
188 def setUp(self): argument
194 def test_constructor_common(self): argument
208 def _check_str_subclass(self, *args): argument
220 def test_str_subclass_common(self): argument
[all …]
Dtest_patma.py18 def test_refleaks(self): argument
44 def test_multiple_inheritance_mapping(self): argument
64 def test_multiple_inheritance_sequence(self): argument
84 def test_late_registration_mapping(self): argument
107 def test_late_registration_sequence(self): argument
133 def test_patma_000(self): argument
139 def test_patma_001(self): argument
147 def test_patma_002(self): argument
155 def test_patma_003(self): argument
162 def test_patma_004(self): argument
[all …]
Dtest_clinic.py21 def __init__(self, name, args): argument
27 def __init__(self, name): argument
30 def __call__(self, name, default, **kwargs): argument
35 def __init__(self): argument
38 def get(self, name, default): argument
44 def __init__(self): argument
71 def get_destination(self, name): argument
77 def add_destination(self, name, type, *args): argument
82 def is_directive(self, name): argument
85 def directive(self, name, args): argument
[all …]
Dtest_mailbox.py30 def _check_sample(self, msg): argument
44 def _delete_recursively(self, target): argument
59 def setUp(self): argument
64 def tearDown(self): argument
68 def test_add(self): argument
98 def test_add_invalid_8bit_bytes_header(self): argument
104 def test_invalid_nonascii_header_as_string(self): argument
111 def test_add_nonascii_string_header_raises(self): argument
118 def test_add_that_raises_leaves_mailbox_empty(self): argument
140 def test_add_8bit_body(self): argument
[all …]
Dpydocfodder.py7 def A_method(self): argument
9 def AB_method(self): argument
11 def AC_method(self): argument
13 def AD_method(self): argument
15 def ABC_method(self): argument
17 def ABD_method(self): argument
19 def ACD_method(self): argument
21 def ABCD_method(self): argument
27 def AB_method(self): argument
29 def ABC_method(self): argument
[all …]
Dtest_interpreters.py65 def tearDown(self): argument
71 def test_in_main(self): argument
76 def test_in_thread(self): argument
90 def test_in_subinterpreter(self): argument
101 def test_after_destroy_all(self): argument
115 def test_after_destroy_some(self): argument
131 def test_main(self): argument
136 def test_subinterpreter(self): argument
150 def test_initial(self): argument
154 def test_after_creating(self): argument
[all …]
/third_party/python/Lib/test/test_asyncio/
Dtest_selector_events.py30 def _make_self_pipe(self): argument
35 def _close_self_pipe(self): argument
54 def setUp(self): argument
61 def test_make_socket_transport(self): argument
75 def test_make_ssl_transport_without_ssl_error(self): argument
84 def test_close(self): argument
86 def _make_self_pipe(self): argument
128 def test_close_no_selector(self): argument
135 def test_read_from_self_tryagain(self): argument
139 def test_read_from_self_exception(self): argument
[all …]
Dtest_proactor_events.py35 def setUp(self): argument
45 def socket_transport(self, waiter=None): argument
51 def test_ctor(self): argument
59 def test_loop_reading(self): argument
66 def test_loop_reading_data(self): argument
81 def test_loop_reading_no_data(self): argument
95 def test_loop_reading_aborted(self): argument
105 def test_loop_reading_aborted_closing(self): argument
114 def test_loop_reading_aborted_is_fatal(self): argument
122 def test_loop_reading_conn_reset_lost(self): argument
[all …]
/third_party/python/Lib/tkinter/test/test_tkinter/
Dtest_widgets.py25 def test_configure_class(self): argument
34 def test_configure_colormap(self): argument
42 def test_configure_container(self): argument
50 def test_configure_visual(self): argument
69 def create(self, **kwargs): argument
72 def test_configure_menu(self): argument
78 def test_configure_screen(self): argument
92 def test_configure_use(self): argument
111 def create(self, **kwargs): argument
126 def create(self, **kwargs): argument
[all …]
/third_party/protobuf/python/google/protobuf/internal/
Djson_format_test.py65 def FillAllFields(self, message): argument
102 def CheckParseBack(self, message, parsed_message): argument
107 def CheckError(self, text, error_message): argument
117 def testEmptyMessageToJson(self): argument
124 def testPartialMessageToJson(self): argument
134 def testAllFieldsToJson(self): argument
167 def testUnknownEnumToJsonAndBack(self): argument
177 def testExtensionToJsonAndBack(self): argument
190 def testExtensionErrors(self): argument
194 def testExtensionToDictAndBack(self): argument
[all …]
/third_party/astc-encoder/Test/
Dastc_test_functional.py122 def __init__(self, *args, **kwargs): argument
128 def setUp(self): argument
136 def tearDown(self): argument
180 def get_tmp_image_path(self, profile, mode): argument
241 def compare(self, image1, image2): argument
288 def get_channel_rmse(self, image1, image2): argument
363 def assertColorSame(self, colorRef, colorNew, threshold=0.02, swiz=None): argument
403 def exec(self, command, pattern=None): argument
456 def test_ldr_compress(self): argument
468 def test_srgb_compress(self): argument
[all …]

12345678910>>...228