RUN asdl/examples/typed_arith_parse_test.py > _test/py-unit/asdl/examples/typed_arith_parse_test.py.log OK RUN asdl/format_test.py > _test/py-unit/asdl/format_test.py.log OK RUN asdl/front_end_test.py > _test/py-unit/asdl/front_end_test.py.log OK RUN asdl/gen_python_test.py > _test/py-unit/asdl/gen_python_test.py.log OK RUN asdl/target_lang_test.py > _test/py-unit/asdl/target_lang_test.py.log OK RUN benchmarks/uftrace_allocs_test.py > _test/py-unit/benchmarks/uftrace_allocs_test.py.log OK RUN build/dynamic_deps_test.py > _test/py-unit/build/dynamic_deps_test.py.log OK RUN build/ninja_lib_test.py > _test/py-unit/build/ninja_lib_test.py.log OK RUN builtin/bracket_osh_test.py > _test/py-unit/builtin/bracket_osh_test.py.log OK RUN builtin/completion_osh_test.py > _test/py-unit/builtin/completion_osh_test.py.log OK RUN builtin/func_misc_test.py > _test/py-unit/builtin/func_misc_test.py.log OK RUN builtin/misc_osh_test.py > _test/py-unit/builtin/misc_osh_test.py.log OK RUN builtin/read_osh_test.py > _test/py-unit/builtin/read_osh_test.py.log OK RUN builtin/readline_osh_test.py > _test/py-unit/builtin/readline_osh_test.py.log OK RUN core/alloc_test.py > _test/py-unit/core/alloc_test.py.log OK RUN core/comp_ui_test.py > _test/py-unit/core/comp_ui_test.py.log OK RUN core/completion_test.py > _test/py-unit/core/completion_test.py.log OK RUN core/process_test.py > _test/py-unit/core/process_test.py.log OK RUN core/pyutil_test.py > _test/py-unit/core/pyutil_test.py.log OK RUN core/state_test.py > _test/py-unit/core/state_test.py.log OK RUN core/util_test.py > _test/py-unit/core/util_test.py.log OK RUN data_lang/htm8_test.py > _test/py-unit/data_lang/htm8_test.py.log OK RUN data_lang/j8_test.py > _test/py-unit/data_lang/j8_test.py.log OK RUN data_lang/pyj8_test.py > _test/py-unit/data_lang/pyj8_test.py.log OK RUN display/pretty_test.py > _test/py-unit/display/pretty_test.py.log OK RUN display/ui_test.py > _test/py-unit/display/ui_test.py.log OK RUN doctools/help_gen_test.py > _test/py-unit/doctools/help_gen_test.py.log OK RUN doctools/html_lib_test.py > _test/py-unit/doctools/html_lib_test.py.log OK RUN doctools/oils_doc_test.py > _test/py-unit/doctools/oils_doc_test.py.log OK RUN doctools/spelling_test.py > _test/py-unit/doctools/spelling_test.py.log OK RUN doctools/split_doc_test.py > _test/py-unit/doctools/split_doc_test.py.log OK RUN frontend/args_test.py > _test/py-unit/frontend/args_test.py.log OK RUN frontend/id_kind_def_test.py > _test/py-unit/frontend/id_kind_def_test.py.log OK RUN frontend/lexer_def_test.py > _test/py-unit/frontend/lexer_def_test.py.log OK RUN frontend/lexer_gen_test.py > _test/py-unit/frontend/lexer_gen_test.py.log OK RUN frontend/lexer_test.py > _test/py-unit/frontend/lexer_test.py.log OK RUN frontend/match_test.py > _test/py-unit/frontend/match_test.py.log OK RUN frontend/reader_test.py > _test/py-unit/frontend/reader_test.py.log OK RUN frontend/typed_args_test.py > _test/py-unit/frontend/typed_args_test.py.log OK RUN lazylex/html_test.py > _test/py-unit/lazylex/html_test.py.log === /home/uke/oil/_test/py-unit/lazylex/html_test.py.log === .E1 h8_id.BadAmpersand '&' 1 h8_id.EndOfStream '' 1 h8_id.BadGreaterThan '>' 1 h8_id.EndOfStream '' .9 h8_id.StartTag '' 61 h8_id.CData '"0" && value<"10" ?"valid":"error"]]>' 71 h8_id.EndTag '' 71 h8_id.EndOfStream '' .15 h8_id.Decl '' 16 h8_id.RawData '\n' 22 h8_id.StartTag '' 25 h8_id.RawData '\n ' 41 h8_id.Comment '' 45 h8_id.RawData '\n\n ' 51 h8_id.StartTag '' 56 h8_id.RawData '\n ' 63 h8_id.StartTag '' 76 h8_id.RawData 'Pulp Testdata' 84 h8_id.EndTag '' 88 h8_id.RawData '\n\n ' 95 h8_id.EndTag '' 99 h8_id.RawData '\n\n ' 105 h8_id.StartTag '' 111 h8_id.RawData '\n\n ' 166 h8_id.Comment '' 172 h8_id.RawData '\n\n ' 197 h8_id.Processing '' 203 h8_id.RawData '\n\n ' 206 h8_id.StartTag '

' 213 h8_id.RawData '\n ' 229 h8_id.StartTag '' 236 h8_id.RawData 'my span' 243 h8_id.EndTag '' 250 h8_id.RawData '\n ' 285 h8_id.StartTag '' 289 h8_id.RawData 'Link' 293 h8_id.EndTag '' 301 h8_id.RawData '\n\n ' 322 h8_id.StartTag '' 326 h8_id.RawData 'Link' 330 h8_id.EndTag '' 338 h8_id.RawData '\n\n ' 370 h8_id.StartTag '' 374 h8_id.RawData 'Link' 378 h8_id.EndTag '' 384 h8_id.RawData '\n\n ' 388 h8_id.EndTag '

' 394 h8_id.RawData '\n\n ' 413 h8_id.StartTag '

' 425 h8_id.RawData '\n this ' 430 h8_id.CharEntity '&' 445 h8_id.RawData ' that and mu = ' 453 h8_id.HexChar 'μ' 458 h8_id.RawData '\n ' 462 h8_id.EndTag '

' 468 h8_id.RawData '\n\n ' 471 h8_id.StartTag '

' 478 h8_id.RawData '\n ' 482 h8_id.CharEntity '<' 491 h8_id.RawData 'not a tag' 495 h8_id.CharEntity '>' 500 h8_id.RawData '\n ' 504 h8_id.EndTag '

' 510 h8_id.RawData '\n\n ' 513 h8_id.StartTag '

' 530 h8_id.RawData '\n line break' 535 h8_id.StartEndTag '
' 552 h8_id.RawData '\n line break' 557 h8_id.StartEndTag '
' 562 h8_id.RawData '\n ' 566 h8_id.EndTag '

' 572 h8_id.RawData '\n\n ' 577 h8_id.StartTag '
'
610 h8_id.StartTag ''
685 h8_id.RawData '$ echo one\none\nbash$ echo two\ntwo\n~/git/oilshell/oil$ echo three\nthree\n    '
692 h8_id.EndTag ''
698 h8_id.EndTag '
' 704 h8_id.RawData '\n\n ' 709 h8_id.StartEndTag '
' 713 h8_id.RawData '\n\n ' 720 h8_id.EndTag '' 721 h8_id.RawData '\n' 728 h8_id.EndTag '' 729 h8_id.RawData '\n' 729 h8_id.EndOfStream '' .12 h8_id.RawData '\n hi ' 50 h8_id.Comment '' 55 h8_id.StartEndTag '
' 55 h8_id.EndOfStream '' .6 h8_id.CharEntity '&ent1;' 8 h8_id.RawData ', ' 14 h8_id.CharEntity '&ent2;' 15 h8_id.RawData '!' 15 h8_id.EndOfStream '' ..3 h8_id.RawData 'hi ' 12 h8_id.Processing '' 12 h8_id.EndOfStream '' ..12 h8_id.RawData '\n hi ' 27 h8_id.StartTag '' 96 h8_id.RawData '\n ' 96 h8_id.EndOfStream '' 12 h8_id.RawData '\n hi ' 27 h8_id.StartTag '' 96 h8_id.RawData '\n ' 96 h8_id.EndOfStream '' .3 h8_id.RawData 'hi ' 18 h8_id.StartTag '' 33 h8_id.EndOfStream '' .3 h8_id.StartTag '' 5 h8_id.RawData 'hi' 9 h8_id.EndTag '' 9 h8_id.EndOfStream '' 3 h8_id.StartTag '' 11 h8_id.StartTag '' 14 h8_id.RawData '1.7' 23 h8_id.EndTag '' 27 h8_id.EndTag '' 27 h8_id.EndOfStream '' .5 h8_id.StartTag '' 11 h8_id.EndTag '' 11 h8_id.EndOfStream '' 9 h8_id.StartTag '' 15 h8_id.EndTag '' 15 h8_id.EndOfStream '' 11 h8_id.StartTag '' 17 h8_id.EndTag '' 17 h8_id.EndOfStream '' 3 h8_id.StartTag '

' 6 h8_id.RawData ' x ' 7 h8_id.BadAmpersand '&' 10 h8_id.RawData ' y ' 14 h8_id.EndTag '

' 14 h8_id.EndOfStream '' ..slices [('disabled', 16, 16)] all [('double', ''), ('single', ''), ('empty', 'value'), ('missing', ''), ('empty2', '')] slices [('double', 11, 11), ('single', 21, 21), ('empty', 30, 35), ('missing', 43, 43), ('empty2', 51, 51)] .. tag = 'a' 1 'a' tag = 'a' 1 'a' 2 'novalue' 5 '' tag = 'a' 1 'a' 2 'href' 4 'double quoted' tag = 'a' 1 'a' 2 'href' 3 'foo' 2 'class' 4 'bar' tag = 'a' 1 'a' 2 'href' 3 'foo' 2 'class' 4 'bar' ...... ====================================================================== ERROR: testFindLineNum (__main__.FunctionsTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/uke/oil/lazylex/html_test.py", line 24, in testFindLineNum line_num = htm8.FindLineNum(s, pos) AttributeError: 'module' object has no attribute 'FindLineNum' ---------------------------------------------------------------------- Ran 23 tests in 0.004s FAILED (errors=1) '&' '>' '"0" && value<"10" ?"valid":"error"]]>' '\n\n \n\n \n Pulp Testdata\n\n \n\n \n\n \n\n \n\n

\n my span\n Link\n\n Link\n\n Link\n\n

\n\n

\n this & that and mu = μ\n

\n\n

\n <not a tag>\n

\n\n

\n line break
\n line break
\n

\n\n
$ echo one\none\nbash$ echo two\ntwo\n~/git/oilshell/oil$ echo three\nthree\n    
\n\n
\n\n \n\n' '\n hi
' '&ent1;, &ent2;!' (LexError '<') (LexError '<') (LexError '<') (LexError '< b') (LexError '