Home
last modified time | relevance | path

Searched refs:assertNotIn (Results 1 – 25 of 53) sorted by relevance

123

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_peepholer.py28 self.assertNotIn(elem, asm)
48 self.assertNotIn(elem, asm)
55 self.assertNotIn('LOAD_GLOBAL', disassemble(f))
65 self.assertNotIn(elem, asm)
77 self.assertNotIn('BUILD_TUPLE', asm)
78 self.assertNotIn('UNPACK_TUPLE', asm)
90 self.assertNotIn('BUILD_TUPLE', asm)
129 self.assertNotIn('BINARY_', asm)
144 self.assertNotIn('BINARY_SUBSCR', asm)
147 self.assertNotIn('BINARY_SUBSCR', asm)
[all …]
Dtest_contains.py24 self.assertNotIn(0, b)
26 self.assertNotIn(0, c)
32 self.assertNotIn('d', 'abc')
42 self.assertNotIn('d', unicode('abc'))
55 self.assertNotIn(unicode('d'), unicode('abc'))
59 self.assertNotIn(unicode('d'), 'abc')
66 self.assertNotIn(16, a)
67 self.assertNotIn(a, a)
72 self.assertNotIn(16, a)
73 self.assertNotIn(a, a)
[all …]
Dtest_dictviews.py29 self.assertNotIn(10, keys)
30 self.assertNotIn("Z", keys)
49 self.assertNotIn((1, 11), items)
50 self.assertNotIn(1, items)
51 self.assertNotIn((), items)
52 self.assertNotIn((1,), items)
53 self.assertNotIn((1, 2, 3), items)
Dtest_compile.py390 self.assertNotIn(1, d)
397 self.assertNotIn((1, 1), d)
404 self.assertNotIn(slice(1, 2), d)
411 self.assertNotIn((slice(1, 2), slice(1, 2)), d)
418 self.assertNotIn(slice(1, 2, 3), d)
425 self.assertNotIn((slice(1, 2, 3), slice(1, 2, 3)), d)
432 self.assertNotIn(Ellipsis, d)
439 self.assertNotIn((Ellipsis, Ellipsis), d)
Dtest_weakset.py66 self.assertNotIn(1, self.s)
69 self.assertNotIn(SomeClass('F'), self.fs)
214 self.assertNotIn(x, self.s)
221 self.assertNotIn(a, self.s)
228 self.assertNotIn(elem, self.s)
255 self.assertNotIn(c, self.s)
264 self.assertNotIn(c, self.s)
273 self.assertNotIn(c, self.s)
283 self.assertNotIn(c, self.s)
292 self.assertNotIn(c, self.s)
[all …]
Dtest_xrange.py67 self.assertNotIn(b, seq)
72 self.assertNotIn(a, seq)
77 self.assertNotIn(-b, seq)
Dtest_userdict.py165 self.assertNotIn(2, d)
166 self.assertNotIn(2, d.keys())
278 self.assertNotIn(20, s)
313 self.assertNotIn(10, s)
321 self.assertNotIn(k, s)
Dtest_copy_reg.py57 self.assertNotIn(code, copy_reg._extension_cache)
84 self.assertNotIn((mod, func), copy_reg._extension_registry)
Dmapping_tests.py62 self.assertNotIn(k, d)
92 self.assertNotIn(knownkey, d)
122 self.assertNotIn(knownkey, d)
127 self.assertNotIn(knownkey, d)
131 self.assertNotIn(key, d)
150 self.assertNotIn(self.other.keys()[0], d.keys())
328 self.assertNotIn('c', k)
353 self.assertNotIn('a', d)
359 self.assertNotIn('c', d)
Dtest_bsddb.py199 self.assertNotIn('not here', self.f)
284 self.assertNotIn(k, self.f)
291 self.assertNotIn(k, self.f)
292 self.assertNotIn(v, self.f.values())
Dtest_unicode.py334 self.assertNotIn(u'a', u'bdb')
335 self.assertNotIn(u'a', 'bdb')
343 self.assertNotIn('a', ('x',1,u'y'))
344 self.assertNotIn('a', ('x',1,None))
345 self.assertNotIn(u'abcd', u'abcxxxx')
365 self.assertNotIn(u'\0', 'abc')
366 self.assertNotIn('\0', u'abc')
367 self.assertNotIn(u'\0', u'abc')
380 self.assertNotIn(u'asdf', 'asd')
381 self.assertNotIn('asdf', u'asd')
[all …]
Dtest_dbm.py26 self.assertNotIn('xxx', self.d)
Dtest_mimetools.py34 self.assertNotIn(nb, s)
Dtest_defaultdict.py40 self.assertNotIn(12, d2)
41 self.assertNotIn(12, d2.keys())
Dtest_cmd_line.py25 self.assertNotIn('Traceback', data)
Dtest_runpy.py51 self.assertNotIn("run_name", d)
68 self.assertNotIn("result", d1)
80 self.assertNotIn(name, sys.modules)
Dtest_pkgimport.py56 self.assertNotIn(self.module_name, sys.modules)
Dtest_urllib2.py794 self.assertNotIn("Content-length", req.unredirected_hdrs)
795 self.assertNotIn("Content-type", req.unredirected_hdrs)
931 self.assertNotIn("content-length", headers)
932 self.assertNotIn("content-type", headers)
936 self.assertNotIn("Spam", o.req.headers)
937 self.assertNotIn("Spam", o.req.unredirected_hdrs)
1082 self.assertNotIn(("Proxy-Authorization","FooBar"),
Dtest_pwd.py93 self.assertNotIn(fakeuid, byuids)
Dtest_dict.py70 self.assertNotIn('a', d)
76 self.assertNotIn('c', d)
428 self.assertNotIn(2, d)
429 self.assertNotIn(2, d.keys())
Dtest_iter.py579 self.assertNotIn(i, sc5)
587 self.assertNotIn(k, d.itervalues())
590 self.assertNotIn(v, d)
593 self.assertNotIn((v, k), d.iteritems())
604 self.assertNotIn(chunk, f)
Dtest_set.py383 self.assertNotIn('a', self.s)
389 self.assertNotIn(self.thetype(self.word), s)
416 self.assertNotIn('a', self.s)
422 self.assertNotIn(self.thetype(self.word), s)
428 self.assertNotIn(elem, self.s)
462 self.assertNotIn(c, self.s)
482 self.assertNotIn(c, self.s)
491 self.assertNotIn(c, self.s)
519 self.assertNotIn(c, self.s)
528 self.assertNotIn(c, self.s)
[all …]
Dtest_collections.py44 self.assertNotIn("u'", repr(nt._fields))
46 self.assertNotIn("u'", repr(nt._fields))
81 … self.assertNotIn('__dict__', dir(p)) # verify instance has no dict
82 self.assertNotIn('__weakref__', dir(p))
642 self.assertNotIn('f', c)
645 self.assertNotIn(elem, c)
840 self.assertNotIn('a', od)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/test/
Dtest_case.py462 self.assertNotIn('d', 'abc')
463 self.assertNotIn(0, [1, 2, 3])
464 self.assertNotIn('otter', animals)
471 self.assertRaises(self.failureException, self.assertNotIn, 'c', 'abc')
472 self.assertRaises(self.failureException, self.assertNotIn, 1, [1, 2, 3])
473 self.assertRaises(self.failureException, self.assertNotIn, 'cow',
620 self.assertNotIn(omitted, msg)
630 self.assertNotIn(omitted, msg)
702 self.assertNotIn('^', str(cm.exception))
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/
Dtest_build_py.py64 self.assertNotIn("__init__.pyc", files)

123