Searched refs:addTypeEqualityFunc (Results 1 – 5 of 5) sorted by relevance
/third_party/python/Lib/unittest/ |
D | case.py | 382 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__.py | 35 self.addTypeEqualityFunc(bytes, self.assertBytesEqual)
|
/third_party/python/Lib/unittest/test/ |
D | test_case.py | 632 self.addTypeEqualityFunc(SadSnake, AllSnakesCreatedEqual)
|
/third_party/python/Doc/library/ |
D | unittest.rst | 871 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/ |
D | 2.7.rst | 1980 new data types. The :meth:`~unittest.TestCase.addTypeEqualityFunc` method takes a type
|