def f(self, a, b=2, *args, **kwargs): assert get_args(sys._getframe()) == OrderedDict(( ('self', self), ('a', a), ('b', b), ('*args', args), ('**kwargs', kwargs) ))
def f(self, a, b=2, *args, **kwargs): assert get_args(sys._getframe()) == OrderedDict( ( ('self', self), ('a', a), ('b', b), ('*args', args), ('**kwargs', kwargs), ) )
def f(x, **kwargs): assert get_args(sys._getframe()) == 'x=%r, **kwargs=%r' % (x, kwargs)
def f(x, y=12, z=2193): assert get_args(sys._getframe()) == 'x=%r, y=%r, z=%r' % (x, y, z)
def f(*a): assert get_args(sys._getframe()) == '*a=%r' % (a, )
def f(x, **kwargs): assert get_args(sys._getframe()) == OrderedDict( (('x', x), ('**kwargs', kwargs)) )
def f(self, a, b=2, *args, **kwargs): assert get_args(sys._getframe()) == ( 'self=%r, a=%r, b=%r, *args=%r, **kwargs=%r' % ((self, a, b, args, kwargs)))
def f(x, y=12, z=2193): assert get_args(sys._getframe()) == OrderedDict( (('x', x), ('y', y), ('z', z)) )
def f(*a): assert get_args(sys._getframe()) == OrderedDict(( ('*a', a), ))
def f(x, **kwargs): assert get_args(sys._getframe()) == OrderedDict(( ('x', x), ('**kwargs', kwargs) ))
def f(): assert get_args(sys._getframe()) == OrderedDict()
def f(x, y=12, z=2193): assert get_args(sys._getframe()) == OrderedDict(( ('x', x), ('y', y), ('z', z), ))
def f(self, a, b=2, *args, **kwargs): assert get_args(sys._getframe()) == ( 'self=%r, a=%r, b=%r, *args=%r, **kwargs=%r' % ( (self, a, b, args, kwargs)))
def f(i, j): assert get_args(sys._getframe()) == 'i=%r, j=%r' % (i, j)
def f(**kw): assert get_args(sys._getframe()) == '**kw=%r' % kw
def f(**kw): assert get_args(sys._getframe()) == OrderedDict(( ('**kw', kw), ))
def f(i, j): assert get_args(sys._getframe()) == OrderedDict(( ('i', i), ('j', j) ))
def f(i, j): assert get_args(sys._getframe()) == OrderedDict((('i', i), ('j', j)))
def f(*a): assert get_args(sys._getframe()) == OrderedDict((('*a', a),))
def f(**kw): assert get_args(sys._getframe()) == OrderedDict((('**kw', kw),))
def f(*a): assert get_args(sys._getframe()) == '*a=%r' % (a,)
def f(): assert get_args(sys._getframe()) == ''