Home
last modified time | relevance | path

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

/third_party/python/Lib/test/
Dtest_defaultdict.py159 self.assertDictEqual(i_s, {1: "one", 2: 2, 0: "zero"})
164 self.assertDictEqual(s_i, {0: "zero", 1: 1, 2: 2})
169 self.assertDictEqual(i_ds, {1: "one", 2: 2, 0: "zero"})
174 self.assertDictEqual(ds_i, {0: "zero", 1: 1, 2: 2})
185 self.assertDictEqual(i, {1: "one", 2: 2, 0: "zero"})
Dtest_mailcap.py95 self.assertDictEqual(d, MAILCAPDICT_DEPRECATED)
145 self.assertDictEqual(caps, MAILCAPDICT)
Dtest_types.py1148 self.assertDictEqual(view | other, {'a': 0, 'b': 1, 'c': 3, 'p': 0})
1149 self.assertDictEqual(other | view, {'c': 2, 'p': 0, 'a': 0, 'b': 1})
1151 self.assertDictEqual(mapping, {'a': 0, 'b': 1, 'c': 2})
1152 self.assertDictEqual(other, {'c': 3, 'p': 0})
Dtest_wsgiref.py608 self.assertDictEqual(handler.environ, expected)
Dtest_smtplib.py1281 self.assertDictEqual(r.exception.args[0], {'Frank': (421, b'closing')})
1347 self.assertDictEqual(smtp.send_message(message), {})
Dtest_pydoc.py780 self.assertDictEqual(methods, expected)
Dtest_os.py1192 self.assertDictEqual(expected, actual)
1254 self.assertDictEqual(expected, actual)
Dtest_descr.py5069 self.assertDictEqual(dict(reduce_value[4]), dictitems)
5235 self.assertDictEqual(obj.__dict__, objcopy.__dict__, msg=msg)
Dpickletester.py844 self.assertDictEqual(obj.__dict__, objcopy.__dict__, msg=msg)
/third_party/python/Lib/unittest/test/
Dtest_case.py786 self.assertDictEqual({}, {})
791 self.assertDictEqual, c, d)
794 self.assertDictEqual(c, d)
798 self.assertDictEqual, c, d, 'These are unequal')
800 self.assertRaises(self.failureException, self.assertDictEqual, None, d)
801 self.assertRaises(self.failureException, self.assertDictEqual, [], d)
802 self.assertRaises(self.failureException, self.assertDictEqual, 1, 1)
864 test.assertDictEqual({}, {1: 0})
1215 self.assertDictEqual({'a': 0}, {b'a': 0})
1217 self.assertDictEqual({}, {b'a': 0})
[all …]
/third_party/python/Lib/unittest/
Dcase.py1134 def assertDictEqual(self, d1, d2, msg=None): member in TestCase
/third_party/python/Doc/whatsnew/
D3.1.rst361 :func:`assertSetEqual`, :func:`assertDictEqual`,
D2.7.rst1964 * :meth:`~unittest.TestCase.assertDictEqual` compares two dictionaries and reports the
/third_party/python/Doc/library/
Dunittest.rst1298 | :meth:`assertDictEqual(a, b) | dicts | 3.1 |
1299 | <TestCase.assertDictEqual>` | | |
1352 .. method:: assertDictEqual(first, second, msg=None)
1406 methods that delegate to it), :meth:`assertDictEqual` and