Home
last modified time | relevance | path

Searched refs:BadInt (Results 1 – 8 of 8) sorted by relevance

/third_party/python/Lib/test/
Dtest_int.py418 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()
Dtest_getargs2.py87 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 …]
Dtest_index.py75 class BadInt: class
83 bad_int = BadInt()
Dtest_random.py621 class BadInt(int): class
625 self.gen.seed(BadInt())
Dtest_bytes.py213 class BadInt: class
216 self.assertRaises(ZeroDivisionError, self.type2test, BadInt())
217 self.assertRaises(ZeroDivisionError, self.type2test, [BadInt()])
Ddatetimetester.py1001 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)
Dtest_subprocess.py3112 class BadInt: class
3132 (BadInt(1), BadInt(2)),
Dtest_os.py955 class BadInt: class
958 return BadInt()