Lines Matching refs:getargs_L
55 from _testcapi import getargs_L, getargs_K
285 from _testcapi import getargs_L
294 self.assertEqual(3, getargs_L(3.14))
301 self.assertRaises(DeprecationWarning, getargs_L, 3.14)
303 self.assertRaises(TypeError, getargs_L, "Hello")
304 self.assertEqual(99, getargs_L(Long()))
305 self.assertEqual(99, getargs_L(Int()))
307 self.assertRaises(OverflowError, getargs_L, LLONG_MIN-1)
308 self.assertEqual(LLONG_MIN, getargs_L(LLONG_MIN))
309 self.assertEqual(LLONG_MAX, getargs_L(LLONG_MAX))
310 self.assertRaises(OverflowError, getargs_L, LLONG_MAX+1)
312 self.assertEqual(42, getargs_L(42))
313 self.assertEqual(42, getargs_L(42L))
314 self.assertRaises(OverflowError, getargs_L, VERY_LARGE)