Lines Matching refs:getargs_I
181 from _testcapi import getargs_I
183 self.assertRaises(TypeError, getargs_I, 3.14)
184 self.assertEqual(99, getargs_I(Long()))
185 self.assertEqual(99, getargs_I(Int()))
187 self.assertEqual(UINT_MAX, getargs_I(-1))
188 self.assertEqual(0, getargs_I(0))
189 self.assertEqual(UINT_MAX, getargs_I(UINT_MAX))
190 self.assertEqual(0, getargs_I(UINT_MAX+1))
192 self.assertEqual(42, getargs_I(42))
193 self.assertEqual(42, getargs_I(42L))
195 self.assertEqual(VERY_LARGE & UINT_MAX, getargs_I(VERY_LARGE))