Home
last modified time | relevance | path

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

12345678

/third_party/python/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 …]
Dtest_server.py62 self.assertIsNone(srv._sockets)
63 self.assertIsNone(srv._waiters)
115 self.assertIsNone(srv._sockets)
116 self.assertIsNone(srv._waiters)
/third_party/python/Lib/test/
Dtest_re.py79 self.assertIsNone(re.search('x', 'aaa'))
84 self.assertIsNone(re.match('a+', 'xxx'))
501 self.assertIsNone(re.fullmatch(r"a+", "ab"))
502 self.assertIsNone(re.fullmatch(r"abc$", "abc\n"))
503 self.assertIsNone(re.fullmatch(r"abc\Z", "abc\n"))
504 self.assertIsNone(re.fullmatch(r"(?m)abc$", "abc\n"))
521 self.assertIsNone(re.match(r'^(\()?([^()]+)(?(1)\))$', 'a)'))
522 self.assertIsNone(re.match(r'^(\()?([^()]+)(?(1)\))$', '(a'))
538 self.assertIsNone(p.match('abd'))
539 self.assertIsNone(p.match('ac'))
[all …]
Dtest_urllib2net.py302 self.assertIsNone(socket.getdefaulttimeout())
307 self.assertIsNone(u.fp.raw._sock.gettimeout())
310 self.assertIsNone(socket.getdefaulttimeout())
322 self.assertIsNone(socket.getdefaulttimeout())
331 self.assertIsNone(u.fp.raw._sock.gettimeout())
344 self.assertIsNone(socket.getdefaulttimeout())
348 self.assertIsNone(u.fp.fp.raw._sock.gettimeout())
352 self.assertIsNone(socket.getdefaulttimeout())
364 self.assertIsNone(socket.getdefaulttimeout())
372 self.assertIsNone(u.fp.fp.raw._sock.gettimeout())
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_contextlib.py188 self.assertIsNone(ex.__cause__)
236 self.assertIsNone(a())
237 self.assertIsNone(b())
441 self.assertIsNone(context.exc)
452 self.assertIsNone(context.exc)
534 self.assertIsNone(context.exc)
603 self.assertIsNone(wrapper[1].__doc__, _exit.__doc__)
623 self.assertIsNone(exc_type)
624 self.assertIsNone(exc)
625 self.assertIsNone(exc_tb)
[all …]
Dtest_rlcompleter.py152 self.assertIsNone(completer.complete('False', 1)) # No duplicates
155 self.assertIsNone(completer.complete('assert', 1))
157 self.assertIsNone(completer.complete('try', 1))
160 self.assertIsNone(completer.complete('memoryview', 1))
162 self.assertIsNone(completer.complete('Ellipsis', 1))
Dtest_generators.py185 self.assertIsNone(exc.__context__)
209 self.assertIsNone(cm.exception.__context__)
239 self.assertIsNone(sys.exc_info()[0])
268 self.assertIsNone(sys.exc_info()[0])
505 self.assertIsNone(gen_b.gi_yieldfrom)
508 self.assertIsNone(gen_b.gi_yieldfrom)
511 self.assertIsNone(gen_b.gi_yieldfrom)
513 self.assertIsNone(gen_b.gi_yieldfrom)
515 self.assertIsNone(gen_b.gi_yieldfrom)
519 self.assertIsNone(gen_b.gi_yieldfrom)
[all …]
Dtest_xml_etree_c.py38 self.assertIsNone(element.text)
46 self.assertIsNone(element.tail)
133 self.assertIsNone(parser.entity)
134 self.assertIsNone(parser.target)
182 self.assertIsNone(r)
Dtest_raise.py88 self.assertIsNone(e.__cause__)
161 self.assertIsNone(exc.__cause__)
168 self.assertIsNone(e.__cause__)
365 self.assertIsNone(e.__context__)
402 self.assertIsNone(e.__context__)
416 self.assertIsNone(e.__context__.__context__)
Dtest_exceptions.py581 self.assertIsNone(e.__context__)
582 self.assertIsNone(e.__cause__)
585 self.assertIsNone(e.__context__)
586 self.assertIsNone(e.__cause__)
592 self.assertIsNone(e.__context__)
593 self.assertIsNone(e.__cause__)
601 self.assertIsNone(e.__context__)
602 self.assertIsNone(e.__cause__)
608 self.assertIsNone(e.__cause__)
680 self.assertIsNone(obj)
[all …]
Dtest_pulldom.py134 self.assertIsNone(items.parser)
135 self.assertIsNone(items.stream)
338 self.assertIsNone(text1.previousSibling)
343 self.assertIsNone(text2.nextSibling)
344 self.assertIsNone(text3.previousSibling)
345 self.assertIsNone(text3.nextSibling)
Dtest_context.py152 self.assertIsNone(var.get(None))
155 self.assertIsNone(var.get(None))
175 self.assertIsNone(var.get(None))
182 self.assertIsNone(var.get(None))
190 self.assertIsNone(ctx.get(c))
213 self.assertIsNone(c.get(None))
242 self.assertIsNone(c.get(None))
279 self.assertIsNone(ctx.get(c))
462 self.assertIsNone(h.get('a'))
475 self.assertIsNone(h.get('b'))
[all …]
Dtest_ast.py301 self.assertIsNone(ref())
324 self.assertIsNone(slc.upper)
325 self.assertIsNone(slc.lower)
326 self.assertIsNone(slc.step)
330 self.assertIsNone(im.module)
343 self.assertIsNone(alias.asname)
352 self.assertIsNone(alias.asname)
384 self.assertIsNone(x.vararg)
840 self.assertIsNone(new.end_lineno)
841 self.assertIsNone(new.end_col_offset)
[all …]
/third_party/python/Lib/test/test_importlib/import_/
Dtest_path.py26 self.assertIsNone(self.find(module))
56 self.assertIsNone(self.find('module', []))
80 self.assertIsNone(self.find('os'))
81 self.assertIsNone(sys.path_importer_cache[path_entry])
129 self.assertIsNone(
149 self.assertIsNone(
166 self.assertIsNone(
194 self.assertIsNone(self.machinery.PathFinder.find_spec('whatever'))
/third_party/python/Lib/test/test_importlib/builtin/
Dtest_finder.py39 self.assertIsNone(spec)
46 self.assertIsNone(spec)
79 self.assertIsNone(loader)
89 self.assertIsNone(loader)
/third_party/python/Lib/idlelib/idle_test/
Dtest_autocomplete.py59 self.assertIsNone(acp.autocompletewindow)
75 self.assertIsNone(acp.autocomplete_event(ev))
80 self.assertIsNone(acp.autocomplete_event(ev))
149 self.assertIsNone(acp._delayed_completion_id)
158 none = self.assertIsNone
174 self.assertIsNone(acp.open_completions(ac.TAB))
176 self.assertIsNone(acp.open_completions(ac.TAB))
182 none = self.assertIsNone
Dtest_hyperparser.py132 self.assertIsNone(with_mustclose(p))
133 self.assertIsNone(without_mustclose(p))
145 self.assertIsNone(with_mustclose(p))
148 self.assertIsNone(with_mustclose(p))
149 self.assertIsNone(without_mustclose(p))
Dtest_history.py31 self.assertIsNone(self.history.prefix)
32 self.assertIsNone(self.history.pointer)
54 self.assertIsNone(self.history.prefix)
55 self.assertIsNone(self.history.pointer)
Dtest_colorizer.py93 self.assertIsNone(m)
160 self.assertIsNone(color.after_id)
289 self.assertIsNone(color.after_id)
303 self.assertIsNone(color.after_id)
311 self.assertIsNone(color.after_id)
318 self.assertIsNone(color.after_id)
374 self.assertIsNone(color.after_id)
Dtest_outwin.py116 self.assertIsNone(w.goto_file_line())
123 self.assertIsNone(w.goto_file_line())
130 self.assertIsNone(w.goto_file_line())
Dtest_codecontext.py118 self.assertIsNone(cc.context)
121 self.assertIsNone(self.cc.t1)
158 self.assertIsNone(cc.context)
160 self.assertIsNone(self.cc.t1)
229 self.assertIsNone(cc.update_code_context())
/third_party/python/Lib/test/test_email/
Dtest__header_value_parser.py1535 self.assertIsNone(angle_addr.route)
1546 self.assertIsNone(angle_addr.local_part)
1547 self.assertIsNone(angle_addr.domain)
1548 self.assertIsNone(angle_addr.route)
1561 self.assertIsNone(angle_addr.route)
1574 self.assertIsNone(angle_addr.route)
1586 self.assertIsNone(angle_addr.route)
1598 self.assertIsNone(angle_addr.route)
1622 self.assertIsNone(angle_addr.route)
1634 self.assertIsNone(angle_addr.route)
[all …]
/third_party/python/Lib/distutils/tests/
Dtest_spawn.py76 self.assertIsNone(rv)
86 self.assertIsNone(rv)
100 self.assertIsNone(rv)
/third_party/python/Lib/test/test_importlib/frozen/
Dtest_finder.py39 self.assertIsNone(spec)
78 self.assertIsNone(loader)

12345678