Home
last modified time | relevance | path

Searched refs:assertDictContainsSubset (Results 1 – 14 of 14) sorted by relevance

/external/python/cpython2/Lib/unittest/test/
Dtest_case.py478 self.assertDictContainsSubset({}, {})
479 self.assertDictContainsSubset({}, {'a': 1})
480 self.assertDictContainsSubset({'a': 1}, {'a': 1})
481 self.assertDictContainsSubset({'a': 1}, {'a': 1, 'b': 2})
482 self.assertDictContainsSubset({'a': 1, 'b': 2}, {'a': 1, 'b': 2})
485 self.assertDictContainsSubset({1: "one"}, {})
488 self.assertDictContainsSubset({'a': 2}, {'a': 1})
491 self.assertDictContainsSubset({'c': 1}, {'a': 1})
494 self.assertDictContainsSubset({'a': 1, 'c': 1}, {'a': 1})
497 self.assertDictContainsSubset({'a': 1, 'c': 1}, {'a': 1})
[all …]
/external/llvm-project/lldb/third_party/Python/module/unittest2/unittest2/test/
Dtest_case.py659 self.assertDictContainsSubset({}, {})
660 self.assertDictContainsSubset({}, {'a': 1})
661 self.assertDictContainsSubset({'a': 1}, {'a': 1})
662 self.assertDictContainsSubset({'a': 1}, {'a': 1, 'b': 2})
663 self.assertDictContainsSubset({'a': 1, 'b': 2}, {'a': 1, 'b': 2})
666 self.assertDictContainsSubset, {'a': 2}, {'a': 1},
670 self.assertDictContainsSubset, {'c': 1}, {'a': 1},
674 self.assertDictContainsSubset, {'a': 1, 'c': 1},
678 self.assertDictContainsSubset, {'a': 1, 'c': 1},
682 self.assertDictContainsSubset, {1: "one"}, {})
Dtest_unittest2_with.py79 self.assertDictContainsSubset({'foo': one}, {'foo': u'\uFFFD'})
/external/python/cpython3/Lib/unittest/test/
Dtest_case.py682 self.assertDictContainsSubset({}, {})
683 self.assertDictContainsSubset({}, {'a': 1})
684 self.assertDictContainsSubset({'a': 1}, {'a': 1})
685 self.assertDictContainsSubset({'a': 1}, {'a': 1, 'b': 2})
686 self.assertDictContainsSubset({'a': 1, 'b': 2}, {'a': 1, 'b': 2})
689 self.assertDictContainsSubset({1: "one"}, {})
692 self.assertDictContainsSubset({'a': 2}, {'a': 1})
695 self.assertDictContainsSubset({'c': 1}, {'a': 1})
698 self.assertDictContainsSubset({'a': 1, 'c': 1}, {'a': 1})
701 self.assertDictContainsSubset({'a': 1, 'c': 1}, {'a': 1})
[all …]
/external/toolchain-utils/crosperf/
Dgenerate_report_unittest.py95 self.assertDictContainsSubset(sub_keyvals, original_keyvals)
/external/python/cpython2/Lib/unittest/
Dcase.py838 def assertDictContainsSubset(self, expected, actual, msg=None): member in TestCase
/external/llvm-project/lldb/third_party/Python/module/unittest2/unittest2/
Dcase.py929 def assertDictContainsSubset(self, expected, actual, msg=None): member in TestCase
/external/python/cpython3/Lib/unittest/
Dcase.py1132 def assertDictContainsSubset(self, subset, dictionary, msg=None): member in TestCase
/external/python/cpython3/Doc/whatsnew/
D3.1.rst362 :func:`assertDictContainsSubset`, :func:`assertListEqual`,
D3.2.rst1823 * The :meth:`~unittest.TestCase.assertDictContainsSubset` method was deprecated
1826 ``TestCase().assertDictContainsSubset({'a':1, 'b':2}, {'a':1})`` would fail.
D2.7.rst1966 …using :meth:`~unittest.TestCase.assertEqual`. :meth:`~unittest.TestCase.assertDictContainsSubset`…
/external/python/cpython2/Doc/library/
Dunittest.rst999 | :meth:`assertDictContainsSubset(a, b) | all the key/value pairs | 2.7 |
1000 | <TestCase.assertDictContainsSubset>` | in *a* exist in *b* | |
1077 .. method:: assertDictContainsSubset(expected, actual, msg=None)
/external/python/cpython2/Doc/whatsnew/
D2.7.rst1942 …using :meth:`~unittest.TestCase.assertEqual`. :meth:`~unittest.TestCase.assertDictContainsSubset`…
/external/python/cpython3/Misc/
DHISTORY10989 - Deprecated assertDictContainsSubset() in the unittest module.