Home
last modified time | relevance | path

Searched refs:assertIsNone (Results 1 – 25 of 482) sorted by relevance

12345678910>>...20

/external/python/cpython3/Lib/test/test_asyncio/
Dtest_protocols.py12 self.assertIsNone(p.connection_made(f))
13 self.assertIsNone(p.connection_lost(f))
14 self.assertIsNone(p.pause_writing())
15 self.assertIsNone(p.resume_writing())
21 self.assertIsNone(p.connection_made(f))
22 self.assertIsNone(p.connection_lost(f))
23 self.assertIsNone(p.data_received(f))
24 self.assertIsNone(p.eof_received())
25 self.assertIsNone(p.pause_writing())
26 self.assertIsNone(p.resume_writing())
[all …]
/external/clang/tools/scan-build-py/tests/unit/
Dtest_compilation.py28 self.assertIsNone(sut.compiler_language([]))
29 self.assertIsNone(sut.compiler_language(['']))
30 self.assertIsNone(sut.compiler_language(['ld']))
31 self.assertIsNone(sut.compiler_language(['as']))
32 self.assertIsNone(sut.compiler_language(['/usr/local/bin/compiler']))
60 self.assertIsNone(sut.split_command(['clang', '-E', 'source.c']))
61 self.assertIsNone(sut.split_command(['clang', '-c', '-E', 'source.c']))
62 self.assertIsNone(sut.split_command(['clang', '-c', '-M', 'source.c']))
63 self.assertIsNone(
80 self.assertIsNone(
[all …]
/external/llvm-project/clang/tools/scan-build-py/tests/unit/
Dtest_compilation.py27 self.assertIsNone(sut.compiler_language([]))
28 self.assertIsNone(sut.compiler_language(['']))
29 self.assertIsNone(sut.compiler_language(['ld']))
30 self.assertIsNone(sut.compiler_language(['as']))
31 self.assertIsNone(sut.compiler_language(['/usr/local/bin/compiler']))
59 self.assertIsNone(sut.split_command(['clang', '-E', 'source.c']))
60 self.assertIsNone(sut.split_command(['clang', '-c', '-E', 'source.c']))
61 self.assertIsNone(sut.split_command(['clang', '-c', '-M', 'source.c']))
62 self.assertIsNone(
79 self.assertIsNone(
[all …]
/external/tensorflow/tensorflow/python/debug/lib/
Ddebug_events_monitors_test.py95 self.assertIsNone(execution.debug_tensor_values)
108 self.assertIsNone(execution.debug_tensor_values)
180 self.assertIsNone(traces[0].debug_tensor_value)
186 self.assertIsNone(traces[1].debug_tensor_value)
192 self.assertIsNone(traces[2].debug_tensor_value)
198 self.assertIsNone(traces[3].debug_tensor_value)
203 self.assertIsNone(traces[4].debug_tensor_value)
261 self.assertIsNone(alert.size)
262 self.assertIsNone(alert.num_neg_inf)
263 self.assertIsNone(alert.num_pos_inf)
[all …]
/external/llvm-project/clang/utils/check_cfc/
Dtest_check_cfc.py65 self.assertIsNone(
68 self.assertIsNone(
71 self.assertIsNone(check_cfc.get_output_file(['clang', '-c', 'test.c']))
79 self.assertIsNone(check_cfc.derive_output_file(['clang', '--version']))
139 self.assertIsNone(check_cfc.get_input_file(['clang']))
147 self.assertIsNone(
149 self.assertIsNone(
152 self.assertIsNone(check_cfc.get_input_file(['clang', 'test.i']))
153 self.assertIsNone(check_cfc.get_input_file(['clang', 'test.ii']))
/external/clang/utils/check_cfc/
Dtest_check_cfc.py65 self.assertIsNone(
68 self.assertIsNone(
71 self.assertIsNone(check_cfc.get_output_file(['clang', '-c', 'test.c']))
79 self.assertIsNone(check_cfc.derive_output_file(['clang', '--version']))
139 self.assertIsNone(check_cfc.get_input_file(['clang']))
147 self.assertIsNone(
149 self.assertIsNone(
152 self.assertIsNone(check_cfc.get_input_file(['clang', 'test.i']))
153 self.assertIsNone(check_cfc.get_input_file(['clang', 'test.ii']))
/external/autotest/client/common_lib/cros/fake_device_server/
Dcommon_util_unittest.py62 self.assertIsNone(op)
67 self.assertIsNone(api_key)
68 self.assertIsNone(op)
72 self.assertIsNone(id)
73 self.assertIsNone(api_key)
74 self.assertIsNone(op)
/external/tensorflow/tensorflow/python/framework/
Dtensor_shape_test.py72 self.assertIsNone(dim.value)
83 self.assertIsNone(
85 self.assertIsNone(
87 self.assertIsNone(
89 self.assertIsNone(
111 self.assertIsNone(tensor_shape.Dimension(12) < tensor_shape.Dimension(None))
112 self.assertIsNone(
114 self.assertIsNone(tensor_shape.Dimension(12) > tensor_shape.Dimension(None))
115 self.assertIsNone(
117 self.assertIsNone(tensor_shape.Dimension(None) < tensor_shape.Dimension(12))
[all …]
/external/fonttools/Tests/feaLib/
Dparser_test.py114 self.assertIsNone(anchor.contourpoint)
115 self.assertIsNone(anchor.xDeviceTable)
116 self.assertIsNone(anchor.yDeviceTable)
128 self.assertIsNone(anchor.xDeviceTable)
129 self.assertIsNone(anchor.yDeviceTable)
142 self.assertIsNone(anchor.contourpoint)
144 self.assertIsNone(anchor.yDeviceTable)
152 self.assertIsNone(anchor)
165 self.assertIsNone(anchor.xDeviceTable)
166 self.assertIsNone(anchor.yDeviceTable)
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/
Dgradient_correctness_test.py84 self.assertIsNone(dy_dx)
95 self.assertIsNone(dy_dk)
105 self.assertIsNone(dm_dk)
115 self.assertIsNone(dm_dk)
126 self.assertIsNone(dn_dk)
140 self.assertIsNone(grad_1)
141 self.assertIsNone(grad_2)
142 self.assertIsNone(grad_3)
143 self.assertIsNone(grad_4)
/external/python/cpython2/Lib/test/
Dtest_re.py38 self.assertIsNone(re.search('x', 'aaa'))
43 self.assertIsNone(re.match('a+', 'xxx'))
315 self.assertIsNone(re.match('^(\()?([^()]+)(?(1)\))$', 'a)'))
316 self.assertIsNone(re.match('^(\()?([^()]+)(?(1)\))$', '(a'))
332 self.assertIsNone(p.match('abd'))
333 self.assertIsNone(p.match('ac'))
341 self.assertIsNone(re.match(r'^(\|)?([^()]+)\1$', 'a|'))
342 self.assertIsNone(re.match(r'^(\|)?([^()]+)\1$', '|a'))
360 self.assertIsNone(re.match("^(\w){1}$", "abc"))
361 self.assertIsNone(re.match("^(\w){1}?$", "abc"))
[all …]
Dtest_urllib2net.py252 self.assertIsNone(socket.getdefaulttimeout())
256 self.assertIsNone(u.fp._sock.fp._sock.gettimeout())
259 self.assertIsNone(socket.getdefaulttimeout())
270 self.assertIsNone(socket.getdefaulttimeout())
278 self.assertIsNone(u.fp._sock.fp._sock.gettimeout())
289 self.assertIsNone(socket.getdefaulttimeout())
292 self.assertIsNone(u.fp.fp._sock.gettimeout())
295 self.assertIsNone(socket.getdefaulttimeout())
305 self.assertIsNone(socket.getdefaulttimeout(),)
312 self.assertIsNone(u.fp.fp._sock.gettimeout())
Dtest_rlcompleter.py94 self.assertIsNone(completer.complete('False', 1)) # No duplicates
96 self.assertIsNone(completer.complete('assert', 1))
98 self.assertIsNone(completer.complete('try', 1))
101 self.assertIsNone(completer.complete('memoryview', 1))
103 self.assertIsNone(completer.complete('Ellipsis', 1))
/external/tensorflow/tensorflow/python/autograph/pyct/
Dorigin_info_test.py133 self.assertIsNone(def_origin.comment)
140 self.assertIsNone(docstring_origin.comment)
160 self.assertIsNone(def_origin.comment)
175 self.assertIsNone(def_origin.comment)
181 self.assertIsNone(docstring_origin.comment)
202 self.assertIsNone(inner_def_origin.comment)
208 self.assertIsNone(inner_ret_origin.comment)
224 self.assertIsNone(def_origin.comment)
230 self.assertIsNone(ret_origin.comment)
250 self.assertIsNone(def_origin.comment)
[all …]
/external/python/cpython3/Lib/test/
Dtest_urllib2net.py267 self.assertIsNone(socket.getdefaulttimeout())
272 self.assertIsNone(u.fp.raw._sock.gettimeout())
275 self.assertIsNone(socket.getdefaulttimeout())
287 self.assertIsNone(socket.getdefaulttimeout())
296 self.assertIsNone(u.fp.raw._sock.gettimeout())
309 self.assertIsNone(socket.getdefaulttimeout())
313 self.assertIsNone(u.fp.fp.raw._sock.gettimeout())
317 self.assertIsNone(socket.getdefaulttimeout())
329 self.assertIsNone(socket.getdefaulttimeout())
337 self.assertIsNone(u.fp.fp.raw._sock.gettimeout())
Dtest_re.py78 self.assertIsNone(re.search('x', 'aaa'))
83 self.assertIsNone(re.match('a+', 'xxx'))
500 self.assertIsNone(re.fullmatch(r"a+", "ab"))
501 self.assertIsNone(re.fullmatch(r"abc$", "abc\n"))
502 self.assertIsNone(re.fullmatch(r"abc\Z", "abc\n"))
503 self.assertIsNone(re.fullmatch(r"(?m)abc$", "abc\n"))
520 self.assertIsNone(re.match(r'^(\()?([^()]+)(?(1)\))$', 'a)'))
521 self.assertIsNone(re.match(r'^(\()?([^()]+)(?(1)\))$', '(a'))
537 self.assertIsNone(p.match('abd'))
538 self.assertIsNone(p.match('ac'))
[all …]
Dtest_xml_dom_minicompat.py18 self.assertIsNone(node_list.item(0))
19 self.assertIsNone(node_list.item(-1)) # invalid item
51 self.assertIsNone(node_list.item(0))
52 self.assertIsNone(node_list.item(-1))
64 self.assertIsNone(node_list.item(-1)) # invalid item
Dtest_exceptions.py531 self.assertIsNone(e.__context__)
532 self.assertIsNone(e.__cause__)
535 self.assertIsNone(e.__context__)
536 self.assertIsNone(e.__cause__)
542 self.assertIsNone(e.__context__)
543 self.assertIsNone(e.__cause__)
551 self.assertIsNone(e.__context__)
552 self.assertIsNone(e.__cause__)
558 self.assertIsNone(e.__cause__)
629 self.assertIsNone(obj)
[all …]
/external/tensorflow/tensorflow/python/training/
Dtraining_util_test.py38 self.assertIsNone(training_util.get_global_step())
52 self.assertIsNone(training_util.get_global_step())
65 self.assertIsNone(training_util.get_global_step())
77 self.assertIsNone(training_util.get_global_step())
91 self.assertIsNone(training_util.get_global_step())
100 self.assertIsNone(training_util._get_or_create_global_step_read())
/external/python/oauth2client/tests/contrib/
Dtest__appengine_ndb.py157 self.assertIsNone(creds_prop._from_base_type(''))
158 self.assertIsNone(creds_prop._from_base_type(False))
159 self.assertIsNone(creds_prop._from_base_type(None))
160 self.assertIsNone(creds_prop._from_base_type([]))
161 self.assertIsNone(creds_prop._from_base_type({}))
166 self.assertIsNone(creds_prop._from_base_type(creds_json))
/external/python/cpython3/Lib/test/test_importlib/builtin/
Dtest_finder.py38 self.assertIsNone(spec)
45 self.assertIsNone(spec)
74 self.assertIsNone(loader)
81 self.assertIsNone(loader)
/external/oss-fuzz/infra/cifuzz/
Dcoverage_test.py66 self.assertIsNone(coverage._get_fuzzer_stats_dir_url('not-a-proj'))
89 self.assertIsNone(
96 self.assertIsNone(coverage_getter.get_target_coverage_report(FUZZ_TARGET))
126 self.assertIsNone(
187 self.assertIsNone(result)
/external/python/cpython3/Lib/test/test_importlib/import_/
Dtest_path.py26 self.assertIsNone(self.find(module))
56 self.assertIsNone(self.find('module', []))
79 self.assertIsNone(self.find('os'))
80 self.assertIsNone(sys.path_importer_cache[path_entry])
126 self.assertIsNone(
142 self.assertIsNone(
157 self.assertIsNone(
185 self.assertIsNone(self.machinery.PathFinder.find_spec('whatever'))
/external/tensorflow/tensorflow/python/tpu/client/
Dclient_test.py166 self.assertIsNone(c._credentials)
169 self.assertIsNone(c._discovery_url)
227 self.assertIsNone(c._service)
228 self.assertIsNone(c._credentials)
229 self.assertIsNone(c._project)
230 self.assertIsNone(c._zone)
231 self.assertIsNone(c._discovery_url)
242 self.assertIsNone(c._service)
243 self.assertIsNone(c._credentials)
246 self.assertIsNone(c._discovery_url)
[all …]
/external/oss-fuzz/infra/
Dbuild_specified_commit_test.py92 self.assertIsNone(repo_origin)
93 self.assertIsNone(repo_name)
112 self.assertIsNone(repo_origin)
113 self.assertIsNone(repo_name)

12345678910>>...20