Home
last modified time | relevance | path

Searched refs:addTypeEqualityFunc (Results 1 – 5 of 5) sorted by relevance

/third_party/python/Lib/unittest/
Dcase.py382 self.addTypeEqualityFunc(dict, 'assertDictEqual')
383 self.addTypeEqualityFunc(list, 'assertListEqual')
384 self.addTypeEqualityFunc(tuple, 'assertTupleEqual')
385 self.addTypeEqualityFunc(set, 'assertSetEqual')
386 self.addTypeEqualityFunc(frozenset, 'assertSetEqual')
387 self.addTypeEqualityFunc(str, 'assertMultiLineEqual')
389 def addTypeEqualityFunc(self, typeobj, function): member in TestCase
/third_party/python/Lib/test/test_email/
D__init__.py35 self.addTypeEqualityFunc(bytes, self.assertBytesEqual)
/third_party/python/Lib/unittest/test/
Dtest_case.py632 self.addTypeEqualityFunc(SadSnake, AllSnakesCreatedEqual)
/third_party/python/Doc/library/
Dunittest.rst871 registers with :meth:`addTypeEqualityFunc` the type-specific equality
1261 register new methods using :meth:`addTypeEqualityFunc`:
1263 .. method:: addTypeEqualityFunc(typeobj, function)
/third_party/python/Doc/whatsnew/
D2.7.rst1980 new data types. The :meth:`~unittest.TestCase.addTypeEqualityFunc` method takes a type