#NEWLINE# def test_args_kwargs( benchmark ) : #NEWLINE# #INDENT# runs = [ ] #NEWLINE# def stuff( foo , bar = 123 ) : #NEWLINE# #INDENT# runs . append ( ( foo , bar ) ) #NEWLINE# #UNINDENT# benchmark . pedantic ( stuff , args = [ 1 ] , kwargs = { #NEWLINE# #INDENT# 'bar' : 2 , #NEWLINE# #UNINDENT# } ) #NEWLINE# assert ( runs == [ ( 1 , 2 ) ] )