def METHOD_NAME(fmt):
    log('PrintfOuter lexing %r', fmt)
    parse_ctx = test_lib.InitParseContext()
    arena = test_lib.MakeArena('<lexer_test.py>')
    line_reader = reader.StringLineReader(fmt, arena)
    lexer = parse_ctx.MakeLexer(line_reader)
    while True:
        t = lexer.Read(lex_mode_e.PrintfOuter)
        print(t)
        if t.id in (Id.Eof_Real, Id.Eol_Tok):
            break
    log('')