def test_munge(): assert munge(test_munge_input) == test_munge_result_a assert munge(test_munge_input, test_munge_count) == test_munge_result_b
def munge(text): """<text> -- Munges up <text>.""" return formatting.munge(text)