Searched refs:BadIndex2 (Results 1 – 2 of 2) sorted by relevance
/third_party/python/Lib/test/ |
D | test_getargs2.py | 70 class BadIndex2: class 164 self.assertEqual(1, getargs_b(BadIndex2())) 188 self.assertEqual(1, getargs_B(BadIndex2())) 212 self.assertEqual(1, getargs_H(BadIndex2())) 237 self.assertEqual(1, getargs_I(BadIndex2())) 262 self.assertRaises(TypeError, getargs_k, BadIndex2()) 288 self.assertEqual(1, getargs_h(BadIndex2())) 312 self.assertEqual(1, getargs_i(BadIndex2())) 336 self.assertEqual(1, getargs_l(BadIndex2())) 361 self.assertEqual(1, getargs_n(BadIndex2())) [all …]
|
D | test_int.py | 466 class BadIndex2(int): class 496 bad_int = BadIndex2()
|