Lines Matching refs:getargs_H
164 from _testcapi import getargs_H
166 self.assertRaises(TypeError, getargs_H, 3.14)
167 self.assertEqual(99, getargs_H(Long()))
168 self.assertEqual(99, getargs_H(Int()))
170 self.assertEqual(USHRT_MAX, getargs_H(-1))
171 self.assertEqual(0, getargs_H(0))
172 self.assertEqual(USHRT_MAX, getargs_H(USHRT_MAX))
173 self.assertEqual(0, getargs_H(USHRT_MAX+1))
175 self.assertEqual(42, getargs_H(42))
176 self.assertEqual(42, getargs_H(42L))
178 self.assertEqual(VERY_LARGE & USHRT_MAX, getargs_H(VERY_LARGE))