Searched defs:assertIsInstance (Results 1 - 3 of 3) sorted by relevance

/external/python/cpython2/Lib/bsddb/test/
H A Dtest_recno.py18 def assertIsInstance(self, obj, datatype, msg=None) : member in class:SimpleRecnoTestCase
43 self.assertIsInstance(recno, int)
59 self.assertIsInstance(data, str)
99 self.assertIsInstance(keys, list)
100 self.assertIsInstance(keys[0], int)
106 self.assertIsInstance(items, list)
107 self.assertIsInstance(items[0], tuple)
109 self.assertIsInstance(items[0][0], int)
110 self.assertIsInstance(items[0][1], str)
/external/python/cpython2/Lib/unittest/
H A Dcase.py826 self.assertIsInstance(d1, dict, 'First argument is not a dictionary')
827 self.assertIsInstance(d2, dict, 'Second argument is not a dictionary')
905 self.assertIsInstance(first, basestring,
907 self.assertIsInstance(second, basestring,
962 def assertIsInstance(self, obj, cls, msg=None): member in class:TestCase
970 """Included for symmetry with assertIsInstance."""
/external/python/cpython3/Lib/unittest/
H A Dcase.py1103 self.assertIsInstance(d1, dict, 'First argument is not a dictionary')
1104 self.assertIsInstance(d2, dict, 'Second argument is not a dictionary')
1178 self.assertIsInstance(first, str, 'First argument is not a string')
1179 self.assertIsInstance(second, str, 'Second argument is not a string')
1232 def assertIsInstance(self, obj, cls, msg=None): member in class:TestCase
1240 """Included for symmetry with assertIsInstance."""

Completed in 171 milliseconds