Home
last modified time | relevance | path

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

12345678910>>...16

/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/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/tensorflow/tensorflow/python/kernel_tests/
Dgradient_correctness_test.py74 self.assertIsNone(dy_dx)
82 self.assertIsNone(dy_dk)
89 self.assertIsNone(dm_dk)
96 self.assertIsNone(dm_dk)
104 self.assertIsNone(dn_dk)
114 self.assertIsNone(grad_1)
115 self.assertIsNone(grad_2)
116 self.assertIsNone(grad_3)
117 self.assertIsNone(grad_4)
/external/fonttools/Tests/feaLib/
Dparser_test.py107 self.assertIsNone(anchor.contourpoint)
108 self.assertIsNone(anchor.xDeviceTable)
109 self.assertIsNone(anchor.yDeviceTable)
121 self.assertIsNone(anchor.xDeviceTable)
122 self.assertIsNone(anchor.yDeviceTable)
135 self.assertIsNone(anchor.contourpoint)
137 self.assertIsNone(anchor.yDeviceTable)
145 self.assertIsNone(anchor)
158 self.assertIsNone(anchor.xDeviceTable)
159 self.assertIsNone(anchor.yDeviceTable)
[all …]
/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/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/python/cpython3/Lib/test/
Dtest_urllib2net.py261 self.assertIsNone(socket.getdefaulttimeout())
266 self.assertIsNone(u.fp.raw._sock.gettimeout())
269 self.assertIsNone(socket.getdefaulttimeout())
281 self.assertIsNone(socket.getdefaulttimeout())
290 self.assertIsNone(u.fp.raw._sock.gettimeout())
303 self.assertIsNone(socket.getdefaulttimeout())
307 self.assertIsNone(u.fp.fp.raw._sock.gettimeout())
311 self.assertIsNone(socket.getdefaulttimeout())
323 self.assertIsNone(socket.getdefaulttimeout())
331 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_exceptions.py471 self.assertIsNone(e.__context__)
472 self.assertIsNone(e.__cause__)
475 self.assertIsNone(e.__context__)
476 self.assertIsNone(e.__cause__)
482 self.assertIsNone(e.__context__)
483 self.assertIsNone(e.__cause__)
491 self.assertIsNone(e.__context__)
492 self.assertIsNone(e.__cause__)
498 self.assertIsNone(e.__cause__)
569 self.assertIsNone(obj)
[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_generators.py178 self.assertIsNone(exc.__context__)
202 self.assertIsNone(cm.exception.__context__)
232 self.assertIsNone(sys.exc_info()[0])
261 self.assertIsNone(sys.exc_info()[0])
324 self.assertIsNone(gen_b.gi_yieldfrom)
327 self.assertIsNone(gen_b.gi_yieldfrom)
330 self.assertIsNone(gen_b.gi_yieldfrom)
332 self.assertIsNone(gen_b.gi_yieldfrom)
334 self.assertIsNone(gen_b.gi_yieldfrom)
338 self.assertIsNone(gen_b.gi_yieldfrom)
[all …]
Dtest_rlcompleter.py128 self.assertIsNone(completer.complete('False', 1)) # No duplicates
131 self.assertIsNone(completer.complete('assert', 1))
133 self.assertIsNone(completer.complete('try', 1))
136 self.assertIsNone(completer.complete('memoryview', 1))
138 self.assertIsNone(completer.complete('Ellipsis', 1))
Dtest_contextlib.py185 self.assertIsNone(ex.__cause__)
231 self.assertIsNone(a())
232 self.assertIsNone(b())
436 self.assertIsNone(context.exc)
447 self.assertIsNone(context.exc)
529 self.assertIsNone(context.exc)
597 self.assertIsNone(wrapper[1].__doc__, _exit.__doc__)
607 self.assertIsNone(exc_type)
608 self.assertIsNone(exc)
609 self.assertIsNone(exc_tb)
[all …]
/external/fonttools/Tests/otlLib/
Dbuilder_test.py93 self.assertIsNone(builder.buildAttachList({}, self.GLYPHMAP))
105 self.assertIsNone(builder.buildAttachPoint([]))
196 self.assertIsNone(builder.buildComponentRecord([]))
199 self.assertIsNone(builder.buildComponentRecord(None))
412 self.assertIsNone(builder.buildLigCaretList({}, {}, self.GLYPHMAP))
415 self.assertIsNone(builder.buildLigCaretList(None, None, self.GLYPHMAP))
431 self.assertIsNone(builder.buildLigGlyph([], []))
434 self.assertIsNone(builder.buildLigGlyph(None, None))
486 self.assertIsNone(builder.buildLookup([]))
487 self.assertIsNone(builder.buildLookup(None))
[all …]
/external/tensorflow/tensorflow/python/training/
Dtraining_util_test.py40 self.assertIsNone(training_util.get_global_step())
53 self.assertIsNone(training_util.get_global_step())
65 self.assertIsNone(training_util.get_global_step())
77 self.assertIsNone(training_util.get_global_step())
90 self.assertIsNone(training_util.get_global_step())
100 self.assertIsNone(training_util._get_or_create_global_step_read())
/external/tensorflow/tensorflow/contrib/gan/python/estimator/python/
Dstargan_estimator_test.py86 self.assertIsNone(gan_model.input_data_domain_label)
89 self.assertIsNone(gan_model.reconstructed_data)
90 self.assertIsNone(gan_model.discriminator_input_data_source_predication)
91 self.assertIsNone(
93 self.assertIsNone(gan_model.discriminator_input_data_domain_predication)
94 self.assertIsNone(
96 self.assertIsNone(gan_model.discriminator_variables)
97 self.assertIsNone(gan_model.discriminator_scope)
98 self.assertIsNone(gan_model.discriminator_fn)
/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))
Dtest_gce.py42 self.assertIsNone(credentials.assertion_type, None)
43 self.assertIsNone(credentials.service_account_email)
44 self.assertIsNone(credentials.scopes)
76 self.assertIsNone(credentials.access_token)
122 self.assertIsNone(credentials.scopes)
/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/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/autotest/server/hosts/
Dcros_firmware_unittest.py92 self.assertIsNone(fw)
101 self.assertIsNone(fw)
128 self.assertIsNone(fw)
144 self.assertIsNone(fw)
/external/python/cpython2/Lib/idlelib/idle_test/
Dtest_parenmatch.py101 self.assertIsNone(pm.paren_closed_event('event'))
104 self.assertIsNone(pm.flash_paren_event('event'))
105 self.assertIsNone(pm.paren_closed_event('event'))
108 self.assertIsNone(pm.paren_closed_event('event'))
/external/tensorflow/tensorflow/python/debug/cli/
Dcommand_parser_test.py109 self.assertIsNone(output_path)
144 self.assertIsNone(output_path)
149 self.assertIsNone(output_path)
154 self.assertIsNone(output_path)
159 self.assertIsNone(output_path)
164 self.assertIsNone(output_path)
169 self.assertIsNone(output_path)
174 self.assertIsNone(output_path)
200 self.assertIsNone(output_path)
205 self.assertIsNone(output_path)

12345678910>>...16