Home
last modified time | relevance | path

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

12345678910>>...391

/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/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/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/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/
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_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.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/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/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/tensorflow/tensorflow/python/keras/
Dmetrics_confusion_matrix_test.py41 def test_config(self): argument
53 def test_unweighted(self): argument
67 def test_weighted(self): argument
78 def test_unweighted_with_thresholds(self): argument
92 def test_weighted_with_thresholds(self): argument
106 def test_threshold_limit(self): argument
121 def test_config(self): argument
133 def test_unweighted(self): argument
147 def test_weighted(self): argument
158 def test_unweighted_with_thresholds(self): argument
[all …]
Dlosses_test.py47 def test_objective_shapes_3d(self): argument
55 def test_objective_shapes_2d(self): argument
65 def test_cce_one_hot(self): argument
78 def test_categorical_crossentropy_loss(self): argument
103 def test_categorical_crossentropy_loss_with_unknown_rank_tensor(self): argument
128 def test_sparse_categorical_crossentropy_loss(self): argument
142 def test_sparse_categorical_crossentropy_loss_with_unknown_rank_tensor(self): argument
168 def test_binary_crossentropy_loss(self): argument
191 def test_get_bce(self): argument
195 def test_serialization(self): argument
[all …]
/external/chromium-trace/catapult/devil/devil/android/
Ddevice_utils_test.py56 def __init__(self, value): argument
59 def __eq__(self, other): argument
62 def __repr__(self): argument
67 def __init__(self, obj): argument
70 def __enter__(self): argument
73 def __exit__(self, type_, value, traceback): argument
78 def __init__(self, path, package_name, perms=None, splits=None): argument
87 def GetPackageName(self): argument
90 def GetPermissions(self): argument
93 def GetVersionCode(self): argument
[all …]

12345678910>>...391