Home
last modified time | relevance | path

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

12345678910>>...378

/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.py38 def createTestFile(self, path): argument
46 def createTestDirectory(self, path): argument
56 def setUp(self): argument
61 def test_chdir(self): argument
67 def test_chdir_fails_non_exist(self): argument
72 def test_chdir_fails_non_directory(self): argument
78 def test_consecutive_chdir(self): argument
90 def test_backwards_chdir(self): argument
105 def test_get_cwd(self): argument
114 def test_listdir(self): argument
[all …]
Dfake_filesystem_test.py33 def setUp(self): argument
43 def tearDown(self): argument
46 def test_new_file_and_directory(self): argument
52 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.py33 def path_separator(self): argument
38 def setUp(self): argument
42 def tearDown(self): argument
46 def test_open_no_parent_dir(self): argument
51 def test_delete_on_close(self): argument
62 def test_no_delete_on_close_by_default(self): argument
68 def test_compatibility_of_with_statement(self): argument
80 def test_unicode_contents(self): argument
92 def test_byte_contents_py3(self): argument
103 def test_write_str_read_bytes(self): argument
[all …]
/external/fonttools/Tests/feaLib/
Dparser_test.py55 def __init__(self, methodName): argument
62 def test_glyphMap_deprecated(self): argument
81 def test_comments(self): argument
96 def test_only_comments(self): argument
105 def test_anchor_format_a(self): argument
118 def test_anchor_format_b(self): argument
131 def test_anchor_format_c(self): argument
146 def test_anchor_format_d(self): argument
154 def test_anchor_format_e(self): argument
168 def test_anchor_format_e_undefined(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.py54 def test_get_all(self): argument
60 def test_getset_charset(self): argument
86 def test_set_charset_from_string(self): argument
93 def test_set_payload_with_charset(self): argument
99 def test_set_payload_with_8bit_data_and_charset(self): argument
108 def test_set_payload_with_non_ascii_and_charset_body_encoding_none(self): argument
117 def test_set_payload_with_8bit_data_and_charset_body_encoding_none(self): argument
126 def test_set_payload_to_list(self): argument
131 def test_attach_when_payload_is_string(self): argument
139 def test_get_charsets(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/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/
Dlosses_test.py44 def setUp(self): argument
49 def testValueErrorThrownWhenWeightIsNone(self): argument
55 def testAllCorrectNoLossWeight(self): argument
60 def testNonZeroLoss(self): argument
65 def testNonZeroLossWithPythonScalarWeight(self): argument
71 def testNonZeroLossWithScalarTensorWeight(self): argument
78 def testNonZeroLossWithOneDimBatchSpecificWeights(self): argument
84 def testNonZeroLossWithTwoDimBatchSpecificWeights(self): argument
90 def testNonZeroLossWithSampleSpecificWeights(self): argument
96 def testNonZeroLossWithSampleSpecificWeightsMostZero(self): argument
[all …]
/external/python/pyasn1/tests/codec/ber/
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 …]
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 …]
/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 …]
DUFO3_test.py21 def setUp(self): argument
32 def tearDown(self): argument
35 def _writeInfoToPlist(self, info): argument
40 def testRead(self): argument
51 def testGenericRead(self): argument
159 def testGaspRead(self): argument
220 def testHeadRead(self): argument
252 def testHheaRead(self): argument
290 def testNameRead(self): argument
489 def testOS2Read(self): argument
[all …]
/external/python/cpython3/Lib/test/
Dtest_subprocess.py72 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
[all …]
/external/yapf/yapftests/
Dreformatter_basic_test.py31 def testSplittingAllArgs(self): argument
80 def testSimpleFunctionsWithTrailingComments(self): argument
109 def testBlankLinesAtEndOfFile(self): argument
136 def testMultipleUgliness(self): argument
176 def testComments(self): argument
229 def testSingleComment(self): argument
236 def testCommentsWithTrailingSpaces(self): argument
248 def testCommentsInDataLiteral(self): argument
265 def testEndingWhitespaceAfterSimpleStatement(self): argument
274 def testDocstrings(self): argument
[all …]
Dreformatter_buganizer_test.py31 def testB77923341(self): argument
41 def testB77329955(self): argument
59 def testB65197969(self): argument
78 def testB65546221(self): argument
105 def testB30500455(self): argument
122 def testB38343525(self): argument
134 def testB37099651(self): argument
155 def testB33228502(self): argument
193 def testB30394228(self): argument
206 def testB65246454(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/llvm-project/lldb/test/API/functionalities/completion/
DTestCompletion.py31 def test_at(self): argument
35 def test_de(self): argument
39 def test_frame_variable(self): argument
78 def test_process_attach_dash_dash_con(self): argument
84 def test_process_launch_arch(self): argument
89 def test_process_load(self): argument
95 def test_process_unload(self): argument
114 def test_process_plugin_completion(self): argument
121 def completions_contain_str(self, input, needle): argument
135 def test_common_completion_process_pid_and_name(self): argument
[all …]
/external/bcc/tests/python/
Dtest_clang.py39 def test_complex(self): argument
42 def test_printk(self): argument
56 def test_probe_read1(self): argument
68 def test_probe_read2(self): argument
79 def test_probe_read3(self): argument
91 def test_probe_read4(self): argument
103 def test_probe_read_whitelist1(self): argument
121 def test_probe_read_whitelist2(self): argument
139 def test_probe_read_keys(self): argument
161 def test_sscanf(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 …]
/external/protobuf/python/google/protobuf/internal/
Dreflection_test.py81 def __init__(self, bytes): argument
85 def ReadVarint(self): argument
94 def ReadSInt64(self): argument
99 def ReadFieldNumberAndWireType(self): argument
102 def ReadFloat(self): argument
107 def ReadDouble(self): argument
112 def EndOfStream(self): argument
119 def assertListsEqual(self, values, others): argument
124 def testScalarConstructor(self): argument
137 def testRepeatedScalarConstructor(self): argument
[all …]

12345678910>>...378