Home
last modified time | relevance | path

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

12345678910>>...358

/external/python/dateutil/dateutil/test/
Dtest_rrule.py24 def _rrulestr_reverse_test(self, rule): argument
35 def testStrAppendRRULEToken(self): argument
49 def testYearly(self): argument
57 def testYearlyInterval(self): argument
66 def testYearlyIntervalLarge(self): argument
75 def testYearlyByMonth(self): argument
84 def testYearlyByMonthDay(self): argument
93 def testYearlyByMonthAndMonthDay(self): argument
103 def testYearlyByWeekDay(self): argument
112 def testYearlyByNWeekDay(self): argument
[all …]
/external/python/pyfakefs/pyfakefs/tests/
Dfake_os_test.py37 def createTestFile(self, path): argument
45 def createTestDirectory(self, path): argument
55 def setUp(self): argument
60 def test_chdir(self): argument
66 def test_chdir_fails_non_exist(self): argument
71 def test_chdir_fails_non_directory(self): argument
77 def test_consecutive_chdir(self): argument
89 def test_backwards_chdir(self): argument
104 def test_get_cwd(self): argument
113 def test_listdir(self): argument
[all …]
Dfake_filesystem_test.py32 def setUp(self): argument
42 def tearDown(self): argument
45 def test_new_file_and_directory(self): argument
51 def test_add_entry(self): argument
56 def test_get_entry(self): argument
60 def test_path(self): argument
66 def test_path_with_drive(self): argument
73 def test_path_after_chdir(self): argument
80 def test_path_after_chdir_with_drive(self): argument
88 def test_remove_entry(self): argument
[all …]
Dfake_open_test.py35 def setUp(self): argument
43 def path_separator(self): argument
48 def setUp(self): argument
52 def tearDown(self): argument
56 def test_open_no_parent_dir(self): argument
61 def test_delete_on_close(self): argument
72 def test_no_delete_on_close_by_default(self): argument
78 def test_compatibility_of_with_statement(self): argument
90 def test_unicode_contents(self): argument
107 def test_byte_contents(self): argument
[all …]
Dfake_pathlib_test.py40 def __init__(self, methodName='runTest'): argument
45 def setUp(self): argument
53 def test_initialization_type(self): argument
76 def test_init_with_segments(self): argument
87 def test_init_collapse(self): argument
97 def test_path_parts(self): argument
115 def test_is_absolute_posix(self): argument
121 def test_is_absolute_windows(self): argument
128 def use_real_fs(self): argument
134 def test_init_with_segments(self): argument
[all …]
/external/python/cpython3/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.py55 def test_get_all(self): argument
61 def test_getset_charset(self): argument
87 def test_set_charset_from_string(self): argument
94 def test_set_payload_with_charset(self): argument
100 def test_set_payload_with_8bit_data_and_charset(self): argument
109 def test_set_payload_with_non_ascii_and_charset_body_encoding_none(self): argument
118 def test_set_payload_with_8bit_data_and_charset_body_encoding_none(self): argument
127 def test_set_payload_to_list(self): argument
132 def test_attach_when_payload_is_string(self): argument
140 def test_get_charsets(self): argument
[all …]
/external/yapf/yapftests/
Dreformatter_basic_test.py32 def testSplittingAllArgs(self): argument
109 def testSplittingTopLevelAllArgs(self): argument
227 def testSimpleFunctionsWithTrailingComments(self): argument
256 def testBlankLinesBetweenTopLevelImportsAndVariables(self): argument
345 def testBlankLinesAtEndOfFile(self): argument
372 def testIndentBlankLines(self): argument
411 def testMultipleUgliness(self): argument
451 def testComments(self): argument
504 def testSingleComment(self): argument
511 def testCommentsWithTrailingSpaces(self): argument
[all …]
Dreformatter_buganizer_test.py31 def testB137580392(self): argument
41 def testB73279849(self): argument
55 def testB122455211(self): argument
68 def testB119300344(self): argument
79 def testB132886019(self): argument
92 def testB26521719(self): argument
103 def testB122541552(self): argument
116 def testB124415889(self): argument
139 def testB73166511(self): argument
149 def testB118624921(self): argument
[all …]
/external/scapy/scapy/layers/tls/
Dautomaton_cli.py61 def parse_args(self, server="127.0.0.1", dport=4433, server_name=None, argument
111 def vprint_sessioninfo(self): argument
129 def INITIAL(self): argument
134 def INIT_TLS_SESSION(self): argument
147 def CONNECT(self): argument
166 def PREPARE_CLIENTFLIGHT1(self): argument
170 def should_add_ClientHello(self): argument
175 def ADDED_CLIENTHELLO(self): argument
179 def should_send_ClientFlight1(self): argument
184 def SENT_CLIENTFLIGHT1(self): argument
[all …]
Dautomaton_srv.py60 def parse_args(self, server="127.0.0.1", sport=4433, argument
93 def vprint_sessioninfo(self): argument
106 def http_sessioninfo(self): argument
127 def INITIAL(self): argument
134 def BIND(self): argument
151 def WAITING_CLIENT(self): argument
167 def INIT_TLS_SESSION(self): argument
183 def WAITING_CLIENTFLIGHT1(self): argument
188 def RECEIVED_CLIENTFLIGHT1(self): argument
194 def should_handle_ClientHello(self): argument
[all …]
/external/python/cpython2/Lib/email/test/
Dtest_email.py58 def ndiffAssertEqual(self, first, second): argument
68 def _msgobj(self, filename): argument
80 def test_get_all(self): argument
86 def test_getset_charset(self): argument
112 def test_set_charset_from_string(self): argument
119 def test_set_payload_with_charset(self): argument
125 def test_get_charsets(self): argument
142 def test_get_filename(self): argument
153 def test_get_filename_with_name_parameter(self): argument
160 def test_get_boundary(self): argument
[all …]
Dtest_email_renamed.py53 def ndiffAssertEqual(self, first, second): argument
63 def _msgobj(self, filename): argument
75 def test_get_all(self): argument
81 def test_getset_charset(self): argument
107 def test_set_charset_from_string(self): argument
114 def test_set_payload_with_charset(self): argument
120 def test_get_charsets(self): argument
137 def test_get_filename(self): argument
148 def test_get_filename_with_name_parameter(self): argument
155 def test_get_boundary(self): argument
[all …]
/external/fonttools/Tests/feaLib/
Dparser_test.py61 def __init__(self, methodName): argument
68 def test_glyphMap_deprecated(self): argument
92 def test_comments(self): argument
108 def test_only_comments(self): argument
119 def test_anchor_format_a(self): argument
133 def test_anchor_format_b(self): argument
147 def test_anchor_format_c(self): argument
163 def test_anchor_format_d(self): argument
172 def test_anchor_format_e(self): argument
187 def test_anchor_format_e_undefined(self): argument
[all …]
/external/fonttools/Tests/cffLib/
Dspecializer_test.py30 def __init__(self, methodName): argument
38 def test_rmoveto_none(self): argument
43 def test_hmoveto_none(self): argument
48 def test_vmoveto_none(self): argument
53 def test_rlineto_none(self): argument
58 def test_hlineto_none(self): argument
63 def test_vlineto_none(self): argument
68 def test_rrcurveto_none(self): argument
73 def test_hhcurveto_none(self): argument
78 def test_vvcurveto_none(self): argument
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/nn_ops/
Dlosses_test.py40 def setUp(self): argument
45 def testValueErrorThrownWhenWeightIsNone(self): argument
51 def testAllCorrectNoLossWeight(self): argument
56 def testNonZeroLoss(self): argument
61 def testNonZeroLossWithPythonScalarWeight(self): argument
67 def testNonZeroLossWithScalarTensorWeight(self): argument
74 def testNonZeroLossWithOneDimBatchSpecificWeights(self): argument
80 def testNonZeroLossWithTwoDimBatchSpecificWeights(self): argument
86 def testNonZeroLossWithSampleSpecificWeights(self): argument
92 def testNonZeroLossWithSampleSpecificWeightsMostZero(self): argument
[all …]
/external/pigweed/pw_tokenizer/py/
Ddecode_test.py37 def test_decode_generated_data(self) -> None: argument
43 def test_unicode_decode_errors(self) -> None: argument
73 def test_ignore_errors(self) -> None: argument
78 def test_pointer(self) -> None: argument
88 def test_nothing_printed_fails(self) -> None: argument
96 def test_percent(self) -> None: argument
102 def test_percent_with_leading_plus_fails(self) -> None: argument
107 def test_percent_with_leading_negative(self) -> None: argument
112 def test_percent_with_leading_space(self) -> None: argument
117 def test_percent_with_leading_hashtag(self) -> None: argument
[all …]
/external/python/pyasn1/tests/codec/ber/
Dtest_encoder.py28 def setUp(self): argument
35 def testEncoder(self): argument
40 def testPosInt(self): argument
43 def testNegInt(self): argument
46 def testZero(self): argument
49 def testCompactZero(self): argument
55 def testMinusOne(self): argument
58 def testPosLong(self): argument
63 def testNegLong(self): argument
70 def testPosInt(self): argument
[all …]
Dtest_decoder.py29 def testLargeTag(self): argument
32 def testLongTag(self): argument
35 def testTagsEquivalence(self): argument
42 def testCache(self): argument
47 def testPosInt(self): argument
50 def testNegInt(self): argument
53 def testZero(self): argument
56 def testZeroLong(self): argument
59 def testMinusOne(self): argument
62 def testPosLong(self): argument
[all …]
/external/markdown/tests/test_syntax/blocks/
Dtest_html_blocks.py29 def test_raw_paragraph(self): argument
35 def test_raw_skip_inline_markdown(self): argument
41 def test_raw_indent_one_space(self): argument
47 def test_raw_indent_two_spaces(self): argument
53 def test_raw_indent_three_spaces(self): argument
59 def test_raw_indent_four_spaces(self): argument
70 def test_raw_span(self): argument
76 def test_code_span(self): argument
82 def test_code_span_open_gt(self): argument
88 def test_raw_empty(self): argument
[all …]
/external/perfetto/test/trace_processor/diff_tests/chrome/
Dindex.py24 def test_scroll_jank_general_validation(self): argument
30 def test_scroll_jank(self): argument
47 def test_event_latency_to_breakdowns(self): argument
68 def test_event_latency_scroll_jank(self): argument
93 def test_event_latency_scroll_jank_cause(self): argument
115 def test_scroll_flow_event(self): argument
137 def test_scroll_flow_event_general_validation(self): argument
169 def test_scroll_jank_cause(self): argument
197 def test_scroll_flow_event_queuing_delay(self): argument
217 def test_scroll_flow_event_general_validation_2(self): argument
[all …]
/external/fonttools/Tests/ufoLib/
DGLIF2_test.py12 def assertEqual(self, first, second, msg=None): argument
19 def pyToGLIF(self, py): argument
27 def glifToPy(self, glif): argument
34 def testTopElement(self): argument
44 def testName_legal(self): argument
60 def testName_empty(self): argument
74 def testName_not_a_string(self): argument
81 def testFormat_legal(self): argument
97 def testFormat_illegal_wrong_number(self): argument
107 def testFormat_illegal_not_int(self): argument
[all …]
/external/python/cpython3/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 …]
/external/tensorflow/tensorflow/python/kernel_tests/
Dcheck_ops_test.py44 def test_passes_when_it_should(self): argument
108 def test_single_tensor_raises(self): argument
114 def test_single_sparse_tensor_raises(self): argument
121 def test_single_ndarray_raises(self): argument
127 def test_single_string_raises(self): argument
133 def test_non_iterable_object_raises(self): argument
139 def test_list_does_not_raise(self): argument
146 def test_generator_does_not_raise(self): argument
155 def test_doesnt_raise_when_equal(self): argument
162 def test_scalar_comparison(self): argument
[all …]
/external/python/cpython2/Lib/lib2to3/tests/
Dtest_fixers.py18 def setUp(self, fix_list=None, fixer_pkg="lib2to3", options=None): argument
29 def _check(self, before, after): argument
36 def check(self, before, after, ignore_warnings=False): argument
42 def warns(self, before, after, message, unchanged=False): argument
48 def warns_unchanged(self, before, message): argument
51 def unchanged(self, before, ignore_warnings=False): argument
56 def assert_runs_after(self, *names): argument
74 def test_basic(self): argument
82 def test_no_spaces(self): argument
90 def test_chained(self): argument
[all …]

12345678910>>...358