/dports/devel/py-traits/traits-6.3.2/traits/tests/ |
H A D | test_tuple.py | 20 class BadInt(BaseInt): class 39 foo = Tuple(BadInt(), BadInt()) 41 bar = Either(Int, Tuple(BadInt(), BadInt()))
|
/dports/lang/python37/Python-3.7.12/Lib/test/ |
H A D | test_int.py | 409 class BadInt(trunc_result_base): class 415 return BadInt() 425 class BadInt(int): class 433 self.assertRaises(TypeError, int, BadInt()) 436 class BadInt: class 446 return BadInt() 452 bad_int = BadInt()
|
H A D | test_getargs2.py | 64 class BadInt: class 139 self.assertRaises(TypeError, getargs_b, BadInt()) 158 self.assertRaises(TypeError, getargs_B, BadInt()) 177 self.assertRaises(TypeError, getargs_H, BadInt()) 197 self.assertRaises(TypeError, getargs_I, BadInt()) 218 self.assertRaises(TypeError, getargs_k, BadInt()) 238 self.assertRaises(TypeError, getargs_h, BadInt()) 257 self.assertRaises(TypeError, getargs_i, BadInt()) 276 self.assertRaises(TypeError, getargs_l, BadInt()) 296 self.assertRaises(TypeError, getargs_n, BadInt()) [all …]
|
H A D | test_index.py | 75 class BadInt: class 83 bad_int = BadInt()
|
/dports/lang/micropython/micropython-1.17/tests/basics/ |
H A D | special_methods.py | 116 class BadInt: class 122 int(BadInt())
|
/dports/databases/py-sqlite3/Python-3.8.12/Lib/test/ |
H A 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()
|
H A D | test_getargs2.py | 85 class BadInt: class 167 self.assertRaises(TypeError, getargs_b, BadInt()) 193 self.assertRaises(TypeError, getargs_B, BadInt()) 219 self.assertRaises(TypeError, getargs_H, BadInt()) 246 self.assertRaises(TypeError, getargs_I, BadInt()) 272 self.assertRaises(TypeError, getargs_k, BadInt()) 299 self.assertRaises(TypeError, getargs_h, BadInt()) 325 self.assertRaises(TypeError, getargs_i, BadInt()) 351 self.assertRaises(TypeError, getargs_l, BadInt()) 377 self.assertRaises(TypeError, getargs_n, BadInt()) [all …]
|
H A D | test_index.py | 75 class BadInt: class 83 bad_int = BadInt()
|
/dports/databases/py-gdbm/Python-3.8.12/Lib/test/ |
H A 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()
|
H A D | test_getargs2.py | 85 class BadInt: class 167 self.assertRaises(TypeError, getargs_b, BadInt()) 193 self.assertRaises(TypeError, getargs_B, BadInt()) 219 self.assertRaises(TypeError, getargs_H, BadInt()) 246 self.assertRaises(TypeError, getargs_I, BadInt()) 272 self.assertRaises(TypeError, getargs_k, BadInt()) 299 self.assertRaises(TypeError, getargs_h, BadInt()) 325 self.assertRaises(TypeError, getargs_i, BadInt()) 351 self.assertRaises(TypeError, getargs_l, BadInt()) 377 self.assertRaises(TypeError, getargs_n, BadInt()) [all …]
|
H A D | test_index.py | 75 class BadInt: class 83 bad_int = BadInt()
|
/dports/lang/python-tools/Python-3.8.12/Lib/test/ |
H A 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()
|
H A D | test_getargs2.py | 85 class BadInt: class 167 self.assertRaises(TypeError, getargs_b, BadInt()) 193 self.assertRaises(TypeError, getargs_B, BadInt()) 219 self.assertRaises(TypeError, getargs_H, BadInt()) 246 self.assertRaises(TypeError, getargs_I, BadInt()) 272 self.assertRaises(TypeError, getargs_k, BadInt()) 299 self.assertRaises(TypeError, getargs_h, BadInt()) 325 self.assertRaises(TypeError, getargs_i, BadInt()) 351 self.assertRaises(TypeError, getargs_l, BadInt()) 377 self.assertRaises(TypeError, getargs_n, BadInt()) [all …]
|
/dports/lang/python39/Python-3.9.9/Lib/test/ |
H A 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()
|
H A D | test_getargs2.py | 85 class BadInt: class 167 self.assertRaises(TypeError, getargs_b, BadInt()) 193 self.assertRaises(TypeError, getargs_B, BadInt()) 219 self.assertRaises(TypeError, getargs_H, BadInt()) 246 self.assertRaises(TypeError, getargs_I, BadInt()) 272 self.assertRaises(TypeError, getargs_k, BadInt()) 299 self.assertRaises(TypeError, getargs_h, BadInt()) 325 self.assertRaises(TypeError, getargs_i, BadInt()) 351 self.assertRaises(TypeError, getargs_l, BadInt()) 377 self.assertRaises(TypeError, getargs_n, BadInt()) [all …]
|
/dports/lang/python38/Python-3.8.12/Lib/test/ |
H A 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()
|
H A D | test_getargs2.py | 85 class BadInt: class 167 self.assertRaises(TypeError, getargs_b, BadInt()) 193 self.assertRaises(TypeError, getargs_B, BadInt()) 219 self.assertRaises(TypeError, getargs_H, BadInt()) 246 self.assertRaises(TypeError, getargs_I, BadInt()) 272 self.assertRaises(TypeError, getargs_k, BadInt()) 299 self.assertRaises(TypeError, getargs_h, BadInt()) 325 self.assertRaises(TypeError, getargs_i, BadInt()) 351 self.assertRaises(TypeError, getargs_l, BadInt()) 377 self.assertRaises(TypeError, getargs_n, BadInt()) [all …]
|
/dports/lang/python310/Python-3.10.1/Lib/test/ |
H A 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()
|
H A 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 …]
|
H A D | test_index.py | 75 class BadInt: class 83 bad_int = BadInt()
|
/dports/lang/python311/Python-3.11.0a3/Lib/test/ |
H A 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()
|
H A 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 …]
|
/dports/x11-toolkits/py-tkinter/Python-3.8.12/Lib/test/ |
H A 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()
|
H A D | test_getargs2.py | 85 class BadInt: class 167 self.assertRaises(TypeError, getargs_b, BadInt()) 193 self.assertRaises(TypeError, getargs_B, BadInt()) 219 self.assertRaises(TypeError, getargs_H, BadInt()) 246 self.assertRaises(TypeError, getargs_I, BadInt()) 272 self.assertRaises(TypeError, getargs_k, BadInt()) 299 self.assertRaises(TypeError, getargs_h, BadInt()) 325 self.assertRaises(TypeError, getargs_i, BadInt()) 351 self.assertRaises(TypeError, getargs_l, BadInt()) 377 self.assertRaises(TypeError, getargs_n, BadInt()) [all …]
|
/dports/devel/py-fastnumbers/fastnumbers-3.2.1/tests/ |
H A D | test_builtin_int.py | 411 class BadInt(builtins.int): class 420 my_int = BadInt(7) 424 self.assertRaises(TypeError, int, BadInt()) 435 class BadInt: class 455 bad_int = BadInt()
|