Searched refs:BadInt (Results 1 – 8 of 8) sorted by relevance
/third_party/python/Lib/test/ |
D | test_int.py | 418 class BadInt(trunc_result_base): class 424 return BadInt() 449 class BadInt(int): class 457 my_int = BadInt(7) 470 class BadInt: class 484 return BadInt() 501 bad_int = BadInt()
|
D | test_getargs2.py | 87 class BadInt: class 168 self.assertRaises(TypeError, getargs_b, BadInt()) 192 self.assertRaises(TypeError, getargs_B, BadInt()) 216 self.assertRaises(TypeError, getargs_H, BadInt()) 241 self.assertRaises(TypeError, getargs_I, BadInt()) 266 self.assertRaises(TypeError, getargs_k, BadInt()) 292 self.assertRaises(TypeError, getargs_h, BadInt()) 316 self.assertRaises(TypeError, getargs_i, BadInt()) 340 self.assertRaises(TypeError, getargs_l, BadInt()) 365 self.assertRaises(TypeError, getargs_n, BadInt()) [all …]
|
D | test_index.py | 75 class BadInt: class 83 bad_int = BadInt()
|
D | test_random.py | 621 class BadInt(int): class 625 self.gen.seed(BadInt())
|
D | test_bytes.py | 213 class BadInt: class 216 self.assertRaises(ZeroDivisionError, self.type2test, BadInt()) 217 self.assertRaises(ZeroDivisionError, self.type2test, [BadInt()])
|
D | datetimetester.py | 1001 class BadInt(int): class 1025 timedelta(microseconds=BadInt(1)) 1029 timedelta(hours=BadInt(1)) 1033 timedelta(weeks=BadInt(1)) 1037 timedelta(1) * BadInt(1) 1041 BadInt(1) * timedelta(1) 1045 timedelta(1) // BadInt(1)
|
D | test_subprocess.py | 3112 class BadInt: class 3132 (BadInt(1), BadInt(2)),
|
D | test_os.py | 955 class BadInt: class 958 return BadInt()
|