Lines Matching refs:getargs_l
249 from _testcapi import getargs_l
251 self.assertRaises(TypeError, getargs_l, 3.14)
252 self.assertEqual(99, getargs_l(Long()))
253 self.assertEqual(99, getargs_l(Int()))
255 self.assertRaises(OverflowError, getargs_l, LONG_MIN-1)
256 self.assertEqual(LONG_MIN, getargs_l(LONG_MIN))
257 self.assertEqual(LONG_MAX, getargs_l(LONG_MAX))
258 self.assertRaises(OverflowError, getargs_l, LONG_MAX+1)
260 self.assertEqual(42, getargs_l(42))
261 self.assertEqual(42, getargs_l(42L))
262 self.assertRaises(OverflowError, getargs_l, VERY_LARGE)