Home
last modified time | relevance | path

Searched refs:assertItemsEqual (Results 1 – 25 of 61) sorted by relevance

123

/external/tensorflow/tensorflow/python/debug/lib/
Dcommon_test.py36 self.assertItemsEqual(["a:0"], loaded[0])
37 self.assertItemsEqual(["b:0"], loaded[1])
45 self.assertItemsEqual(["a:0"], loaded[0])
46 self.assertItemsEqual(["a:0", "b:0"], loaded[1])
57 self.assertItemsEqual([], loaded[0])
58 self.assertItemsEqual(["a:0", "b:0", "c:0", "d:0"], loaded[1])
Ddebug_data_test.py224 self.assertItemsEqual(
233 self.assertItemsEqual(["node_foo_1", "node_foo_1", "node_foo_1"],
235 self.assertItemsEqual(
Ddebug_utils_test.py279 self.assertItemsEqual(["a1", "a1/Assign", "b", "b/Assign"], node_names)
292 self.assertItemsEqual(["a1", "a1/Assign"], node_names)
/external/chromium-trace/catapult/common/py_utils/py_utils/
Dexc_util_unittest.py82 self.assertItemsEqual(client.called, ['Connect', 'Disconnect'])
97 self.assertItemsEqual(client.called, ['Connect', 'Disconnect'])
112 self.assertItemsEqual(client.called, ['Connect'])
131 self.assertItemsEqual(worker.called, ['Process', 'Cleanup'])
147 self.assertItemsEqual(worker.called, ['Process', 'Cleanup'])
164 self.assertItemsEqual(worker.called, ['Process', 'Cleanup'])
183 self.assertItemsEqual(worker.called, ['Process', 'Disconnect', 'Cleanup'])
Dbinary_manager_unittest.py176 self.assertItemsEqual(self.expected_dependencies,
/external/python/cpython2/Lib/test/
Dtest_cgi.py145 self.assertItemsEqual(expect.keys(), fcd.keys())
146 self.assertItemsEqual(expect.values(), fcd.values())
147 self.assertItemsEqual(expect.items(), fcd.items())
150 self.assertItemsEqual(sd.keys(), fs.keys())
156 self.assertItemsEqual(fcd[key], expect[key])
172 self.assertItemsEqual(sd.getlist(key), expect_val)
174 self.assertItemsEqual(sd.values(),
176 self.assertItemsEqual(sd.items(),
188 self.assertItemsEqual(expect.values(), d.values())
Dtest_glob.py52 self.assertItemsEqual(glob.iglob(p), res)
54 self.assertItemsEqual(glob.glob(fsdecode(p)), ures)
55 self.assertItemsEqual(glob.iglob(fsdecode(p)), ures)
/external/tensorflow/tensorflow/python/autograph/pyct/
Dnaming_test.py30 self.assertItemsEqual(('temp',), namer.generated_names)
36 self.assertItemsEqual(('temp', 'temp_1'), namer.generated_names)
44 self.assertItemsEqual(('temp_1', 'temp_3'), namer.generated_names)
/external/tensorflow/tensorflow/python/kernel_tests/random/
Drandom_shuffle_queue_test.py98 self.assertItemsEqual([(1, [5]), (2, [6]), (3, [7]), (4, [8]), (9, [10])],
125 self.assertItemsEqual(elems, results)
149 self.assertItemsEqual(elems, results)
162 self.assertItemsEqual(elems, vals)
191 self.assertItemsEqual(elems, results)
208 self.assertItemsEqual(elems, results)
240 self.assertItemsEqual(elems + elems, results)
333 self.assertItemsEqual(expected, results)
346 self.assertItemsEqual(elems, results)
359 self.assertItemsEqual(elems, results)
[all …]
/external/python/cpython2/Lib/unittest/test/
Dtest_case.py709 self.assertItemsEqual([1, 2, 3], [3, 2, 1])
710 self.assertItemsEqual(['foo', 'bar', 'baz'], ['bar', 'baz', 'foo'])
711 self.assertItemsEqual([a, a, 2, 2, 3], (a, 2, 3, a, 2))
712 self.assertItemsEqual([1, "2", "a", "a"], ["a", "2", True, "a"])
713 self.assertRaises(self.failureException, self.assertItemsEqual,
715 self.assertRaises(self.failureException, self.assertItemsEqual,
717 self.assertRaises(self.failureException, self.assertItemsEqual,
719 self.assertRaises(self.failureException, self.assertItemsEqual,
721 self.assertRaises(self.failureException, self.assertItemsEqual,
725 self.assertItemsEqual([[1, 2], [3, 4], 0], [False, [3, 4], [1, 2]])
[all …]
/external/tensorflow/tensorflow/python/lib/io/
Dfile_io_test.py174 self.assertItemsEqual(
177 self.assertItemsEqual(file_io.get_matching_files(tuple()), [])
181 self.assertItemsEqual(
195 self.assertItemsEqual(
298 self.assertItemsEqual(files + ["sub_dir"], dir_list)
334 self.assertItemsEqual(all_dirs, [dir_path_str] + [
342 self.assertItemsEqual(all_subdirs[1:5], [[], ["subdir2"], [], []])
343 self.assertItemsEqual(all_subdirs[0],
345 self.assertItemsEqual(all_files, [["file1.txt"], ["file2.txt"], [], [], []])
360 self.assertItemsEqual(all_dirs, [
[all …]
/external/tensorflow/tensorflow/python/eager/
Dlift_to_graph_test.py70 self.assertItemsEqual( # Before lifting, 'fn' has colocation attrs.
80 self.assertItemsEqual([op.name for op in ops],
87 self.assertItemsEqual(op.colocation_groups(), # Expect default self-ref.
/external/tensorflow/tensorflow/python/kernel_tests/
Dio_ops_test.py124 self.assertItemsEqual(io_ops.matching_files([]).eval(), [])
127 self.assertItemsEqual(
133 self.assertItemsEqual(
/external/chromium-trace/catapult/devil/devil/android/
Dflag_changer_devicetest.py69 self.assertItemsEqual(changer.ReplaceFlags(new_flags), new_flags)
72 self.assertItemsEqual(changer.Restore(), ['--some', '--old', '--flags'])
Dflag_changer_test.py117 self.assertItemsEqual(flags, expected_flags)
127 self.assertItemsEqual(new_flags, expected_flags)
/external/llvm-project/lldb/third_party/Python/module/unittest2/unittest2/test/
Dtest_case.py774 self.assertItemsEqual([1, 2, 3], [3, 2, 1])
775 self.assertItemsEqual(['foo', 'bar', 'baz'], ['bar', 'baz', 'foo'])
776 self.assertRaises(self.failureException, self.assertItemsEqual,
778 self.assertRaises(self.failureException, self.assertItemsEqual,
780 self.assertRaises(self.failureException, self.assertItemsEqual,
784 self.assertItemsEqual([[1, 2], [3, 4]], [[3, 4], [1, 2]])
786 self.assertItemsEqual([{'a': 1}, {'b': 2}], [{'b': 2}, {'a': 1}])
787 self.assertRaises(self.failureException, self.assertItemsEqual,
791 self.assertItemsEqual([2j, None], [None, 2j])
792 self.assertRaises(self.failureException, self.assertItemsEqual,
/external/llvm/utils/lit/tests/unit/
DTestRunner.py92 self.assertItemsEqual(list_parser.getValue(),
109 self.assertItemsEqual(value, ['a', 'b', 'c'])
/external/tensorflow/tensorflow/python/grappler/
Ditem_test.py60 self.assertItemsEqual(['Const', 'Const_1', 'add'], op_list)
124 self.assertItemsEqual(
/external/tensorflow/tensorflow/python/framework/
Dops_test.py2354 self.assertItemsEqual([a_1.op, a_2.op, a_3.op, a_4.op],
2356 self.assertItemsEqual(b_1.op.control_inputs, b_2.op.control_inputs)
2384 self.assertItemsEqual([a_3.op, a_4.op], b_3_4.op.control_inputs)
2385 self.assertItemsEqual([a_3.op], b_3.op.control_inputs)
2386 self.assertItemsEqual([], b_none.op.control_inputs)
2387 self.assertItemsEqual([a_1.op, a_2.op], b_1_2.op.control_inputs)
2388 self.assertItemsEqual([a_1.op], b_1.op.control_inputs)
2389 self.assertItemsEqual([], b_none2.op.control_inputs)
2443 self.assertItemsEqual([a_1.op], b_1.op.control_inputs)
2444 self.assertItemsEqual([a_1.op, a_2.op], b_2.op.control_inputs)
[all …]
/external/autotest/client/bin/
Dlocal_host_unittest.py154 self.assertItemsEqual(
170 self.assertItemsEqual(
185 self.assertItemsEqual(
/external/tensorflow/tensorflow/compiler/tests/
Dfifo_queue_test.py95 self.assertItemsEqual(elems, results)
119 self.assertItemsEqual(elems, results)
/external/tensorflow/tensorflow/python/summary/
Dplugin_asset_test.py69 self.assertItemsEqual(plugin_asset.get_all_plugin_assets(), [epa, opa])
/external/tensorflow/tensorflow/python/data/kernel_tests/
Dtest_base.py79 self.assertItemsEqual(list(expected.keys()), list(actual.keys()))
140 self.assertItemsEqual(result_values, expected_values)
/external/tensorflow/tensorflow/python/tpu/
Dfeature_column_test.py161 self.assertItemsEqual(('embedding_weights:0',),
306 self.assertItemsEqual(('embedding_weights:0',),
/external/tensorflow/tensorflow/python/keras/feature_column/
Ddense_features_v2_test.py433 self.assertItemsEqual(
467 self.assertItemsEqual(
519 self.assertItemsEqual(

123