Home
last modified time | relevance | path

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

12345678910>>...577

/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_filesystem_test.py41 def setUp(self): argument
53 def tearDown(self): argument
56 def test_new_file_and_directory(self): argument
61 def test_add_entry(self): argument
65 def test_get_entry(self): argument
69 def test_path(self): argument
76 def test_path_with_drive(self): argument
83 def test_path_after_chdir(self): argument
91 def test_path_after_chdir_with_drive(self): argument
99 def test_remove_entry(self): argument
[all …]
Dfake_os_test.py36 def setUp(self): argument
40 def tearDown(self): argument
43 def createTestFile(self, path): argument
53 def createTestDirectory(self, path): argument
64 def setUp(self): argument
69 def test_chdir(self): argument
75 def test_chdir_fails_non_exist(self): argument
80 def test_chdir_fails_non_directory(self): argument
86 def test_consecutive_chdir(self): argument
99 def test_backwards_chdir(self): argument
[all …]
Dfake_pathlib_test.py50 def __init__(self, methodName="runTest"): argument
54 def used_pathlib(self): argument
57 def setUp(self): argument
70 def use_real_fs(self): argument
75 def test_initialization_type(self): argument
98 def test_init_with_segments(self): argument
112 def test_init_collapse(self): argument
121 def test_path_parts(self): argument
139 def test_is_absolute_posix(self): argument
145 def test_is_absolute_windows(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
71 def test_no_delete_on_close_by_default(self): argument
77 def test_compatibility_of_with_statement(self): argument
88 def test_unicode_contents(self): argument
105 def test_byte_contents(self): argument
[all …]
/external/fonttools/Tests/feaLib/
Dparser_test.py62 def __init__(self, methodName): argument
69 def test_glyphMap_deprecated(self): argument
93 def test_comments(self): argument
109 def test_only_comments(self): argument
120 def test_anchor_format_a(self): argument
134 def test_anchor_format_b(self): argument
148 def test_anchor_format_c(self): argument
164 def test_anchor_format_d(self): argument
173 def test_anchor_format_e(self): argument
188 def test_anchor_format_e_undefined(self): argument
[all …]
/external/python/cpython3/Lib/test/test_email/
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 …]
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 …]
/external/scapy/scapy/layers/tls/
Dautomaton_cli.py118 def parse_args(self, server="127.0.0.1", dport=4433, server_name=None, argument
216 def vprint_sessioninfo(self): argument
239 def INITIAL(self): argument
244 def _socket(self, fd): argument
248 def INIT_TLS_SESSION(self): argument
309 def CONNECT(self): argument
328 def PREPARE_CLIENTFLIGHT1(self): argument
332 def should_add_ClientHello(self): argument
353 def ADDED_CLIENTHELLO(self): argument
357 def should_send_ClientFlight1(self): argument
[all …]
Dautomaton_srv.py110 def parse_args(self, server="127.0.0.1", sport=4433, argument
186 def vprint_sessioninfo(self): argument
212 def http_sessioninfo(self): argument
236 def INITIAL(self): argument
243 def BIND(self): argument
264 def SOCKET_CLOSED(self): argument
269 def WAITING_CLIENT(self): argument
287 def INIT_TLS_SESSION(self): argument
303 def WAITING_CLIENTFLIGHT1(self): argument
308 def RECEIVED_CLIENTFLIGHT1(self): argument
[all …]
/external/fonttools/Tests/cffLib/
Dspecializer_test.py34 def __init__(self, methodName): argument
42 def test_rmoveto_none(self): argument
47 def test_hmoveto_none(self): argument
52 def test_vmoveto_none(self): argument
57 def test_rlineto_none(self): argument
62 def test_hlineto_none(self): argument
67 def test_vlineto_none(self): argument
72 def test_rrcurveto_none(self): argument
77 def test_hhcurveto_none(self): argument
82 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/yapf/yapftests/
Dreformatter_basic_test.py32 def testSplittingAllArgs(self): argument
133 def testSplittingTopLevelAllArgs(self): argument
319 def testSimpleFunctionsWithTrailingComments(self): argument
348 def testParamListWithTrailingComments(self): argument
371 def testBlankLinesBetweenTopLevelImportsAndVariables(self): argument
460 def testBlankLinesAtEndOfFile(self): argument
487 def testIndentBlankLines(self): argument
526 def testMultipleUgliness(self): argument
566 def testComments(self): argument
619 def testSingleComment(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/executorch/backends/qualcomm/tests/
Dtest_qnn_delegate.py64 def setUp(self): argument
79 def test_qnn_backend_arange(self): argument
84 def test_qnn_backend_avg_pool2d(self): argument
89 def test_qnn_backend_batch_norm(self): argument
94 def test_qnn_backend_bmm(self): argument
100 def test_qnn_backend_cast(self): argument
105 def test_qnn_backend_cat(self): argument
112 def test_qnn_backend_chunk_single(self): argument
117 def test_qnn_backend_clamp(self): argument
122 def test_qnn_backend_conv1d(self): 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/fonttools/Tests/ufoLib/
DGLIF2_test.py16 def assertEqual(self, first, second, msg=None): argument
23 def pyToGLIF(self, py): argument
37 def glifToPy(self, glif): argument
44 def testTopElement(self): argument
54 def testName_legal(self): argument
70 def testName_empty(self): argument
84 def testName_not_a_string(self): argument
91 def testFormat_legal(self): argument
107 def testFormat_illegal_wrong_number(self): argument
117 def testFormat_illegal_not_int(self): argument
[all …]
/external/emboss/compiler/front_end/
Dexpression_bounds_test.py25 def _make_ir(self, emb_text): argument
33 def test_constant_integer(self): argument
43 def test_boolean_constant(self): argument
52 def test_constant_equality(self): argument
67 def test_constant_inequality(self): argument
82 def test_constant_less_than(self): argument
102 def test_constant_less_than_or_equal(self): argument
122 def test_constant_greater_than(self): argument
142 def test_constant_greater_than_or_equal(self): argument
162 def test_constant_and(self): argument
[all …]
/external/python/cpython3/Lib/test/test_sqlite3/
Dtest_dbapi.py47 def test_api_level(self): argument
51 def test_deprecated_version(self): argument
62 def test_thread_safety(self): argument
67 def test_param_style(self): argument
72 def test_warning(self): argument
76 def test_error(self): argument
80 def test_interface_error(self): argument
84 def test_database_error(self): argument
88 def test_data_error(self): argument
92 def test_operational_error(self): argument
[all …]
/external/python/cpython3/Lib/test/
Dtest_posix.py58 def setUp(self): argument
67 def testNoArgFunctions(self): argument
85 def test_getresuid(self): argument
93 def test_getresgid(self): argument
101 def test_setresuid(self): argument
109 def test_setresuid_exception(self): argument
118 def test_setresgid(self): argument
126 def test_setresgid_exception(self): argument
136 def test_initgroups(self): argument
161 def test_statvfs(self): 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 …]
/external/chromium-crossbench/tests/crossbench/plt/
Dtest_native_platform.py22 def setUp(self): argument
25 def test_sleep(self): argument
31 def test_cpu_details(self): argument
35 def test_get_relative_cpu_speed(self): argument
38 def test_is_thermal_throttled(self): argument
41 def test_is_battery_powered(self): argument
48 def test_cpu_usage(self): argument
51 def test_system_details(self): argument
54 def test_environ(self): argument
58 def test_which_none(self): argument
[all …]
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_selector_events.py32 def _make_self_pipe(self): argument
37 def _close_self_pipe(self): argument
59 def setUp(self): argument
66 def test_make_socket_transport(self): argument
82 def test_make_ssl_transport_without_ssl_error(self): argument
93 def test_close(self): argument
95 def _make_self_pipe(self): argument
137 def test_close_no_selector(self): argument
144 def test_read_from_self_tryagain(self): argument
148 def test_read_from_self_exception(self): argument
[all …]

12345678910>>...577