Home
last modified time | relevance | path

Searched refs:assertCountEqual (Results 1 – 25 of 28) sorted by relevance

12

/third_party/python/Lib/test/
Dtest_glob.py59 self.assertCountEqual(glob.iglob(p, **kwargs), res)
61 self.assertCountEqual(glob.glob(os.fsencode(p), **kwargs), bres)
62 self.assertCountEqual(glob.iglob(os.fsencode(p), **kwargs), bres)
72 self.assertCountEqual([os.path.join(self.tempdir, x) for x in res2],
74 self.assertCountEqual(glob.iglob(pattern, **kwargs), res2)
77 self.assertCountEqual(glob.glob(bpattern, **kwargs), bres2)
78 self.assertCountEqual(glob.iglob(bpattern, **kwargs), bres2)
80 self.assertCountEqual(glob.glob(pattern, root_dir=self.tempdir, **kwargs), res2)
81 self.assertCountEqual(glob.iglob(pattern, root_dir=self.tempdir, **kwargs), res2)
83 self.assertCountEqual(
[all …]
Dtest___all__.py54 self.assertCountEqual(all_set, all_list, "in module {}".format(modname))
Dtest_subclassinit.py214 self.assertCountEqual(notified, ['a', 'b', 'c', 'd', 'e'])
Dtest_sched.py193 self.assertCountEqual(seq, [
Dtest_future.py94 self.assertCountEqual(set(flags.values()), flags.values())
Dtest_cgi.py187 self.assertCountEqual(expect.keys(), fs.keys())
Dtest_socketserver.py481 self.assertCountEqual(socketserver.__all__, expected)
Dtest_shutil.py1328 self.assertCountEqual(tf.getnames(),
1339 self.assertCountEqual(tf.getnames(),
1416 self.assertCountEqual(zf.namelist(),
1429 self.assertCountEqual(zf.namelist(),
Dtest_traceback.py1460 self.assertCountEqual(traceback.__all__, expected)
Dtest_concurrent_futures.py894 self.assertCountEqual(finished, range(10))
Dtest_urlparse.py1064 self.assertCountEqual(urllib.parse.__all__, expected)
Dtest_httpservers.py1242 self.assertCountEqual(server.__all__, expected)
Dtest_configparser.py489 elem_eq = self.assertCountEqual
Dtest_httplib.py1462 self.assertCountEqual(client.__all__, expected)
Dtest_ast.py687 self.assertCountEqual(ast.expr.__doc__.split("\n"), expressions)
/third_party/python/Lib/idlelib/idle_test/
Dtest_config.py78 self.assertCountEqual(get_list('one'), ['one', 'two', 'three'])
79 self.assertCountEqual(get_list('two'), ['one', 'two', 'three'])
116 self.assertCountEqual(parser.sections(), ['Bar', 'Foo'])
137 self.assertCountEqual(parser.sections(), ['Bar', 'Foo'])
145 self.assertCountEqual(parser.sections(), ['Bar', 'Foo', 'Idle'])
160 self.assertCountEqual(parser.sections(), ['Foo'])
277 self.assertCountEqual(conf.defaultCfg.keys(), conf.config_types)
278 self.assertCountEqual(conf.userCfg.keys(), conf.config_types)
343 self.assertCountEqual(
347 self.assertCountEqual(
[all …]
Dtest_configdialog.py1560 self.assertCountEqual(tr.traced, expected)
1577 self.assertCountEqual(tr.untraced, expected)
/third_party/python/Lib/unittest/test/
Dtest_case.py949 self.assertCountEqual([1, 2, 3], [3, 2, 1])
950 self.assertCountEqual(['foo', 'bar', 'baz'], ['bar', 'baz', 'foo'])
951 self.assertCountEqual([a, a, 2, 2, 3], (a, 2, 3, a, 2))
952 self.assertCountEqual([1, "2", "a", "a"], ["a", "2", True, "a"])
953 self.assertRaises(self.failureException, self.assertCountEqual,
955 self.assertRaises(self.failureException, self.assertCountEqual,
957 self.assertRaises(self.failureException, self.assertCountEqual,
959 self.assertRaises(self.failureException, self.assertCountEqual,
961 self.assertRaises(self.failureException, self.assertCountEqual,
965 self.assertCountEqual([[1, 2], [3, 4], 0], [False, [3, 4], [1, 2]])
[all …]
/third_party/grpc/src/python/grpcio_tests/tests/unit/
D_api_test.py92 six.assertCountEqual(self, expected_grpc_code_elements,
D_auth_context_test.py141 six.assertCountEqual(self, _CLIENT_IDS, auth_data[_ID])
/third_party/grpc/src/python/grpcio_tests/tests_aio/unit/
Dauth_context_test.py142 self.assertCountEqual(_CLIENT_IDS, auth_data[_ID])
/third_party/python/Lib/unittest/
Dcase.py1176 def assertCountEqual(self, first, second, msg=None): member in TestCase
/third_party/python/Lib/test/support/
D__init__.py1495 test_case.assertCountEqual(module.__all__, expected)
/third_party/python/Lib/test/test_zoneinfo/
Dtest_zoneinfo.py1691 self.assertCountEqual(module_dir, module_unique)
/third_party/python/Doc/library/
Dunittest.rst1180 | :meth:`assertCountEqual(a, b) | *a* and *b* have the same | 3.2 |
1181 | <TestCase.assertCountEqual>` | elements in the same number, | |
1241 .. method:: assertCountEqual(first, second, msg=None)

12