Lines Matching refs:args
156 self.assertEqual(ChainMap().maps, [{}]) # no-args --> one new dict
201 def __init__(self, *args, **kwds):
203 UserDict.__init__(self, *args, **kwds)
337 self.assertRaises(TypeError, Point._make, [11]) # catch too few args
338 self.assertRaises(TypeError, Point._make, [11, 22, 33]) # catch too many args
358 with self.assertRaises(TypeError): # catch too few args
360 with self.assertRaises(TypeError): # catch too many args
373 with self.assertRaises(TypeError): # catch too few args
470 self.assertRaises(TypeError, Point, 1) # too few args
471 self.assertRaises(TypeError, Point, 1, 2, 3) # too many args
595 'added', 'all', 'also', 'an', 'arg_list', 'args', 'arguments',
721 methodstubs = dict.fromkeys(names, lambda s, *args: 0)
735 stub = lambda s, *args: 0
1226 def throw(self, *args): raise ValueError
1232 def throw(self, *args): pass
1290 result = ex.args[0] if ex.args else None
1305 async def athrow(self, *args): raise ValueError
1312 async def athrow(self, *args): pass
2018 def __init__(self, *args, **kwds):
2020 Counter.__init__(self, *args, **kwds)
2027 def __init__(self, *args, **kwds):
2029 Counter.__init__(self, *args, **kwds)
2086 c.update() # test case with no args