def test_dedent(): s = ''' foo foo bar foobar test ''' assert dedent(s) == '\nfoo foo\n\nbar\nfoobar\ntest\n'
def test_dedent(): s = """ foo foo bar foobar test """ assert dedent(s) == "\nfoo foo\n\nbar\nfoobar\ntest\n"