def METHOD_NAME():
    printer = create_printer(indent_level=4)
    printer.line("test")
    with printer.with_indent():
        printer.line("test indent")
    assert printer.result() == """test
    test indent"""