Home
last modified time | relevance | path

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

1234567891011

/external/python/cpython2/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)
143 self.assertNotIn("(u'f')", asm)
146 self.assertNotIn("(u'\\uffff')", 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_weakset.py76 self.assertNotIn(1, self.s)
79 self.assertNotIn(SomeClass('F'), self.fs)
244 self.assertNotIn(x, self.s)
251 self.assertNotIn(a, self.s)
258 self.assertNotIn(elem, self.s)
285 self.assertNotIn(c, self.s)
294 self.assertNotIn(c, self.s)
303 self.assertNotIn(c, self.s)
313 self.assertNotIn(c, self.s)
322 self.assertNotIn(c, self.s)
[all …]
Dtest_compile.py78 self.assertNotIn('a', g)
458 self.assertNotIn(1, d)
465 self.assertNotIn((1, 1), d)
472 self.assertNotIn(slice(1, 2), d)
479 self.assertNotIn((slice(1, 2), slice(1, 2)), d)
486 self.assertNotIn(slice(1, 2, 3), d)
493 self.assertNotIn((slice(1, 2, 3), slice(1, 2, 3)), d)
500 self.assertNotIn(Ellipsis, d)
507 self.assertNotIn((Ellipsis, Ellipsis), d)
Dtest_dictviews.py33 self.assertNotIn(10, keys)
34 self.assertNotIn("Z", keys)
53 self.assertNotIn((1, 11), items)
54 self.assertNotIn(1, items)
55 self.assertNotIn((), items)
56 self.assertNotIn((1,), items)
57 self.assertNotIn((1, 2, 3), items)
/external/python/cpython3/Lib/test/
Dtest_range.py63 self.assertNotIn(b, seq)
68 self.assertNotIn(a, seq)
73 self.assertNotIn(-b, seq)
130 self.assertNotIn(b, seq)
137 self.assertNotIn(a, seq)
144 self.assertNotIn(-b, seq)
165 self.assertNotIn(b, x)
183 self.assertNotIn(b, x)
202 self.assertNotIn(b, x)
221 self.assertNotIn(b, x)
[all …]
Dtest_contains.py23 self.assertNotIn(0, b)
25 self.assertNotIn(0, c)
31 self.assertNotIn('d', 'abc')
43 self.assertNotIn(16, a)
44 self.assertNotIn(a, a)
49 self.assertNotIn(16, a)
50 self.assertNotIn(a, a)
66 self.assertNotIn(Deviant1(), Deviant1.aList)
Dtest_weakset.py56 self.assertNotIn(1, self.s)
59 self.assertNotIn(ustr('F'), self.fs)
224 self.assertNotIn(x, self.s)
231 self.assertNotIn(a, self.s)
238 self.assertNotIn(elem, self.s)
265 self.assertNotIn(c, self.s)
274 self.assertNotIn(c, self.s)
283 self.assertNotIn(c, self.s)
293 self.assertNotIn(c, self.s)
302 self.assertNotIn(c, self.s)
[all …]
Dtest_pickletools.py34 self.assertNotIn(pickle.LONG_BINGET, pickled2)
35 self.assertNotIn(pickle.LONG_BINPUT, pickled2)
61 self.assertNotIn(pickle.BINPUT, pickled2)
Dtest_dataclasses.py405 self.assertNotIn('__eq__', C.__dict__)
406 self.assertNotIn('__lt__', C.__dict__)
407 self.assertNotIn('__le__', C.__dict__)
408 self.assertNotIn('__gt__', C.__dict__)
409 self.assertNotIn('__ge__', C.__dict__)
418 self.assertNotIn('__lt__', C.__dict__)
419 self.assertNotIn('__le__', C.__dict__)
420 self.assertNotIn('__gt__', C.__dict__)
421 self.assertNotIn('__ge__', C.__dict__)
514 self.assertNotIn('x', C().__dict__)
[all …]
Dtest_script_helper.py54 self.assertNotIn('-E', popen_command) # -I overrides this
68 self.assertNotIn('-I', popen_command)
69 self.assertNotIn('-E', popen_command)
Dtest_dictviews.py32 self.assertNotIn(10, keys)
33 self.assertNotIn("Z", keys)
52 self.assertNotIn((1, 11), items)
53 self.assertNotIn(1, items)
54 self.assertNotIn((), items)
55 self.assertNotIn((1,), items)
56 self.assertNotIn((1, 2, 3), items)
/external/grpc-grpc/src/python/grpcio_tests/tests/unit/
D_channel_connectivity_test.py79 self.assertNotIn(grpc.ChannelConnectivity.READY, second_connectivities)
80 self.assertNotIn(grpc.ChannelConnectivity.READY, third_connectivities)
81 self.assertNotIn(grpc.ChannelConnectivity.READY, fourth_connectivities)
82 self.assertNotIn(grpc.ChannelConnectivity.READY, fifth_connectivities)
116 self.assertNotIn(grpc.ChannelConnectivity.TRANSIENT_FAILURE,
118 self.assertNotIn(grpc.ChannelConnectivity.SHUTDOWN,
120 self.assertNotIn(grpc.ChannelConnectivity.TRANSIENT_FAILURE,
122 self.assertNotIn(grpc.ChannelConnectivity.SHUTDOWN,
/external/python/cpython3/Lib/test/test_importlib/import_/
Dtest_packages.py34 self.assertNotIn('pkg', sys.modules)
38 self.assertNotIn('pkg', sys.modules)
53 self.assertNotIn('pkg', sys.modules)
56 self.assertNotIn('pkg', sys.modules)
73 self.assertNotIn('pkg.subpkg', sys.modules)
76 self.assertNotIn('pkg.subpkg', sys.modules)
/external/clang/utils/check_cfc/
Dtest_check_cfc.py15 self.assertNotIn('-g', check_cfc.flip_dash_g(['clang', '-c', '-g']))
16 self.assertNotIn(
25 self.assertNotIn(
34 self.assertNotIn(bin_path, stripped_path_var.split(os.pathsep))
38 self.assertNotIn(r'/usr//bin',
44 self.assertNotIn(
/external/tensorflow/tensorflow/python/debug/lib/
Ddebug_utils_test.py341 self.assertNotIn("a1", node_names)
342 self.assertNotIn("a1/Assign", node_names)
343 self.assertNotIn("b", node_names)
344 self.assertNotIn("b/Assign", node_names)
359 self.assertNotIn("a1", node_names)
360 self.assertNotIn("a1/Assign", node_names)
361 self.assertNotIn("b", node_names)
362 self.assertNotIn("b/Assign", node_names)
363 self.assertNotIn("s", node_names)
/external/python/cpython2/Lib/distutils/tests/
Dtest_dist.py176 self.assertNotIn('options', dir(dist))
285 self.assertNotIn("provides:", meta.lower())
286 self.assertNotIn("requires:", meta.lower())
287 self.assertNotIn("obsoletes:", meta.lower())
300 self.assertNotIn("requires:", meta.lower())
301 self.assertNotIn("obsoletes:", meta.lower())
320 self.assertNotIn("provides:", meta.lower())
323 self.assertNotIn("obsoletes:", meta.lower())
342 self.assertNotIn("provides:", meta.lower())
343 self.assertNotIn("requires:", meta.lower())
/external/python/cpython3/Lib/distutils/tests/
Dtest_dist.py142 self.assertNotIn(key, d.command_options.get('install', {}))
187 self.assertNotIn('options', dir(dist))
278 self.assertNotIn("provides:", meta.lower())
279 self.assertNotIn("requires:", meta.lower())
280 self.assertNotIn("obsoletes:", meta.lower())
293 self.assertNotIn("requires:", meta.lower())
294 self.assertNotIn("obsoletes:", meta.lower())
313 self.assertNotIn("provides:", meta.lower())
316 self.assertNotIn("obsoletes:", meta.lower())
342 self.assertNotIn("provides:", meta.lower())
[all …]
/external/tensorflow/tensorflow/python/util/
Dtf_inspect_test.py755 self.assertNotIn('dec', source)
757 self.assertNotIn('return 1', source)
771 self.assertNotIn('dec', source)
773 self.assertNotIn('return 1', source)
788 self.assertNotIn('factory', source)
789 self.assertNotIn('dec', source)
791 self.assertNotIn('return 1', source)
807 self.assertNotIn('factory', source)
808 self.assertNotIn('dec', source)
810 self.assertNotIn('return 1', source)
/external/tensorflow/tensorflow/python/debug/cli/
Dstepper_cli_test.py212 self.assertNotIn(stepper_cli.NodeStepperCLI.STATE_IS_PLACEHOLDER,
339 self.assertNotIn(stepper_cli.NodeStepperCLI.STATE_CONT, stat_labels[i])
364 self.assertNotIn(stepper_cli.NodeStepperCLI.STATE_CONT,
376 self.assertNotIn(stepper_cli.NodeStepperCLI.STATE_DIRTY_VARIABLE,
390 self.assertNotIn(stepper_cli.NodeStepperCLI.STATE_DIRTY_VARIABLE,
407 self.assertNotIn(stepper_cli.NodeStepperCLI.STATE_DIRTY_VARIABLE,
421 self.assertNotIn(stepper_cli.NodeStepperCLI.STATE_DIRTY_VARIABLE,
492 self.assertNotIn(stepper_cli.NodeStepperCLI.STATE_OVERRIDDEN,
509 self.assertNotIn(stepper_cli.NodeStepperCLI.STATE_CONT,
/external/toolchain-utils/crosperf/
Dschedv2_unittest.py106 self.assertNotIn('chromeos-daisy3.cros', self.exp.remote)
108 self.assertNotIn('chromeos-daisy5.cros', self.exp.remote)
112 self.assertNotIn('chromeos-daisy5.cros', l.remote)
115 self.assertNotIn('chromeos-daisy3.cros', l.remote)
Dresults_report_unittest.py229 self.assertNotIn('no result', output.summary_table)
257 self.assertNotIn('no result', output.summary_table)
389 self.assertNotIn('bar', bench1)
390 self.assertNotIn('bar', bench2_foo)
391 self.assertNotIn('foo', bench2_bar)
/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_delegator.py31 self.assertNotIn('numerator', mydel.__dict__)
38 self.assertNotIn('bit_length', mydel.__dict__)
/external/python/cpython2/Lib/idlelib/idle_test/
Dtest_delegator.py27 self.assertNotIn('numerator', mydel.__dict__)
33 self.assertNotIn('bit_length', mydel.__dict__)
/external/autotest/utils/
Dlabellib_unittest.py107 self.assertNotIn('pool', mapping)
113 self.assertNotIn('foo', mapping)
119 self.assertNotIn('pool', mapping)

1234567891011