def rewrite_asserts(mod, module_path=None, config=None):
 AssertionRewriter(module_path, config).run(mod)

def rewrite_asserts ( mod , module_path = None , config = None ) : AssertionRewriter ( module_path , config ) . run ( mod )
rewrite the assert statements in mod .