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