Home
last modified time | relevance | path

Searched refs:BadIndex (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_getargs2.py64 class BadIndex: class
160 self.assertRaises(TypeError, getargs_b, BadIndex())
186 self.assertRaises(TypeError, getargs_B, BadIndex())
212 self.assertRaises(TypeError, getargs_H, BadIndex())
239 self.assertRaises(TypeError, getargs_I, BadIndex())
267 self.assertRaises(TypeError, getargs_k, BadIndex())
292 self.assertRaises(TypeError, getargs_h, BadIndex())
318 self.assertRaises(TypeError, getargs_i, BadIndex())
344 self.assertRaises(TypeError, getargs_l, BadIndex())
371 self.assertRaises(TypeError, getargs_n, BadIndex())
[all …]
Dtest_int.py434 class BadIndex(int): class
442 self.assertEqual(int(BadIndex()), 0)
462 class BadIndex: class
480 return BadIndex()
490 bad_int = BadIndex()
Dtest_struct.py278 class BadIndex(object): class
299 BadIndex())
/external/python/cpython2/Lib/test/
Dtest_struct.py306 class BadIndex(object): class
327 for nonint in NotAnIntNS(), NotAnIntOS(), BadIndex():