def mock_render_template(*args, **kwargs):
 return pprint.pformat((args, kwargs)).decode()

def mock_render_template ( * args , ** kwargs ) : return pprint . pformat ( ( args , kwargs ) ) . decode ( )
pretty-print the args and kwargs .