def test_lambda_list_keywords_kwargs():
 can_compile(u'(fn (x &kwargs kw) (list x kw))')
 cant_compile(u'(fn (x &kwargs xs &kwargs ys) (list x xs ys))')
 can_compile(u'(fn (&optional x &kwargs kw) (list x kw))')

def test_lambda_list_keywords_kwargs ( ) : can_compile ( u'(fn (x &kwargs kw) (list x kw))' ) cant_compile ( u'(fn (x &kwargs xs &kwargs ys) (list x xs ys))' ) can_compile ( u'(fn (&optional x &kwargs kw) (list x kw))' )
ensure we can compile functions with &kwargs .