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