Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 422652 Details for
Bug 571644
dev-python/html5lib-0.9999999 with dev-python/lxml-3.5.0 fails tests
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build.log
build.log (text/plain), 115.30 KB, created by
eroen
on 2016-01-12 10:04:28 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
eroen
Created:
2016-01-12 10:04:28 UTC
Size:
115.30 KB
patch
obsolete
>[32;01m * [39;49;00mPackage: dev-python/html5lib-0.9999999 >[32;01m * [39;49;00mRepository: gentoo >[32;01m * [39;49;00mMaintainer: python@gentoo.org >[32;01m * [39;49;00mUSE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_4 test userland_GNU >[32;01m * [39;49;00mFEATURES: preserve-libs sandbox test userpriv usersandbox >>>> Unpacking source... >>>> Unpacking html5lib-0.9999999.tar.gz to /var/tmp/portage/dev-python/html5lib-0.9999999/work >>>> Source unpacked in /var/tmp/portage/dev-python/html5lib-0.9999999/work >>>> Preparing source in /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999 ... > [32;01m*[0m python2_7: running distutils-r1_run_phase distutils-r1_python_compile >/usr/bin/python2.7 setup.py build >/usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires' > warnings.warn(msg) >running build >running build_py >creating /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python2_7/lib/html5lib >copying html5lib/ihatexml.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python2_7/lib/html5lib >copying html5lib/tokenizer.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python2_7/lib/html5lib >copying html5lib/inputstream.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python2_7/lib/html5lib >copying html5lib/sanitizer.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python2_7/lib/html5lib >copying html5lib/__init__.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python2_7/lib/html5lib >copying html5lib/constants.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python2_7/lib/html5lib >copying html5lib/html5parser.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python2_7/lib/html5lib >copying html5lib/utils.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python2_7/lib/html5lib >creating /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python2_7/lib/html5lib/trie >copying html5lib/trie/datrie.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python2_7/lib/html5lib/trie >copying html5lib/trie/_base.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python2_7/lib/html5lib/trie >copying html5lib/trie/__init__.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python2_7/lib/html5lib/trie >copying html5lib/trie/py.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python2_7/lib/html5lib/trie >creating /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python2_7/lib/html5lib/treewalkers >copying html5lib/treewalkers/lxmletree.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python2_7/lib/html5lib/treewalkers >copying html5lib/treewalkers/_base.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python2_7/lib/html5lib/treewalkers >copying html5lib/treewalkers/__init__.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python2_7/lib/html5lib/treewalkers >copying html5lib/treewalkers/dom.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python2_7/lib/html5lib/treewalkers >copying html5lib/treewalkers/pulldom.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python2_7/lib/html5lib/treewalkers >copying html5lib/treewalkers/etree.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python2_7/lib/html5lib/treewalkers >copying html5lib/treewalkers/genshistream.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python2_7/lib/html5lib/treewalkers >creating /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python2_7/lib/html5lib/filters >copying html5lib/filters/whitespace.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python2_7/lib/html5lib/filters >copying html5lib/filters/lint.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python2_7/lib/html5lib/filters >copying html5lib/filters/_base.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python2_7/lib/html5lib/filters >copying html5lib/filters/sanitizer.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python2_7/lib/html5lib/filters >copying html5lib/filters/__init__.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python2_7/lib/html5lib/filters >copying html5lib/filters/inject_meta_charset.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python2_7/lib/html5lib/filters >copying html5lib/filters/alphabeticalattributes.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python2_7/lib/html5lib/filters >copying html5lib/filters/optionaltags.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python2_7/lib/html5lib/filters >creating /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python2_7/lib/html5lib/treeadapters >copying html5lib/treeadapters/sax.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python2_7/lib/html5lib/treeadapters >copying html5lib/treeadapters/__init__.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python2_7/lib/html5lib/treeadapters >creating /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python2_7/lib/html5lib/treebuilders >copying html5lib/treebuilders/etree_lxml.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python2_7/lib/html5lib/treebuilders >copying html5lib/treebuilders/_base.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python2_7/lib/html5lib/treebuilders >copying html5lib/treebuilders/__init__.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python2_7/lib/html5lib/treebuilders >copying html5lib/treebuilders/dom.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python2_7/lib/html5lib/treebuilders >copying html5lib/treebuilders/etree.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python2_7/lib/html5lib/treebuilders >creating /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python2_7/lib/html5lib/serializer >copying html5lib/serializer/__init__.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python2_7/lib/html5lib/serializer >copying html5lib/serializer/htmlserializer.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python2_7/lib/html5lib/serializer >warning: build_py: byte-compiling is disabled, skipping. > > [32;01m*[0m python3_4: running distutils-r1_run_phase distutils-r1_python_compile >/usr/bin/python3.4 setup.py build >running build >running build_py >creating /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python3_4/lib/html5lib >copying html5lib/ihatexml.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python3_4/lib/html5lib >copying html5lib/tokenizer.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python3_4/lib/html5lib >copying html5lib/inputstream.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python3_4/lib/html5lib >copying html5lib/sanitizer.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python3_4/lib/html5lib >copying html5lib/__init__.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python3_4/lib/html5lib >copying html5lib/constants.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python3_4/lib/html5lib >copying html5lib/html5parser.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python3_4/lib/html5lib >copying html5lib/utils.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python3_4/lib/html5lib >creating /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python3_4/lib/html5lib/trie >copying html5lib/trie/datrie.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python3_4/lib/html5lib/trie >copying html5lib/trie/_base.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python3_4/lib/html5lib/trie >copying html5lib/trie/__init__.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python3_4/lib/html5lib/trie >copying html5lib/trie/py.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python3_4/lib/html5lib/trie >creating /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python3_4/lib/html5lib/treewalkers >copying html5lib/treewalkers/lxmletree.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python3_4/lib/html5lib/treewalkers >copying html5lib/treewalkers/_base.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python3_4/lib/html5lib/treewalkers >copying html5lib/treewalkers/__init__.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python3_4/lib/html5lib/treewalkers >copying html5lib/treewalkers/dom.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python3_4/lib/html5lib/treewalkers >copying html5lib/treewalkers/pulldom.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python3_4/lib/html5lib/treewalkers >copying html5lib/treewalkers/etree.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python3_4/lib/html5lib/treewalkers >copying html5lib/treewalkers/genshistream.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python3_4/lib/html5lib/treewalkers >creating /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python3_4/lib/html5lib/filters >copying html5lib/filters/whitespace.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python3_4/lib/html5lib/filters >copying html5lib/filters/lint.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python3_4/lib/html5lib/filters >copying html5lib/filters/_base.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python3_4/lib/html5lib/filters >copying html5lib/filters/sanitizer.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python3_4/lib/html5lib/filters >copying html5lib/filters/__init__.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python3_4/lib/html5lib/filters >copying html5lib/filters/inject_meta_charset.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python3_4/lib/html5lib/filters >copying html5lib/filters/alphabeticalattributes.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python3_4/lib/html5lib/filters >copying html5lib/filters/optionaltags.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python3_4/lib/html5lib/filters >creating /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python3_4/lib/html5lib/treeadapters >copying html5lib/treeadapters/sax.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python3_4/lib/html5lib/treeadapters >copying html5lib/treeadapters/__init__.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python3_4/lib/html5lib/treeadapters >creating /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python3_4/lib/html5lib/treebuilders >copying html5lib/treebuilders/etree_lxml.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python3_4/lib/html5lib/treebuilders >copying html5lib/treebuilders/_base.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python3_4/lib/html5lib/treebuilders >copying html5lib/treebuilders/__init__.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python3_4/lib/html5lib/treebuilders >copying html5lib/treebuilders/dom.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python3_4/lib/html5lib/treebuilders >copying html5lib/treebuilders/etree.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python3_4/lib/html5lib/treebuilders >creating /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python3_4/lib/html5lib/serializer >copying html5lib/serializer/__init__.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python3_4/lib/html5lib/serializer >copying html5lib/serializer/htmlserializer.py -> /var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999-python3_4/lib/html5lib/serializer >/usr/lib64/python3.4/distutils/dist.py:260: UserWarning: Unknown distribution option: 'install_requires' > warnings.warn(msg) >warning: build_py: byte-compiling is disabled, skipping. > >>>> Source compiled. >>>> Test phase: dev-python/html5lib-0.9999999 > [32;01m*[0m python2_7: running distutils-r1_run_phase python_test >..........................................................................................................................................................................Testing tree builders cElementTree ElementTree lxml DOM >............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................FF..............................................................................................................FF......FF......FF..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................FF..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................FF......FF......FF......FF......................................................FF..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................FF..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................E.............EEE.......................................................................................................................................................................................................................................................................E.....................................................................................................................................................................................................................................................................................................................................................................................................................EEEE......E..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... >====================================================================== >ERROR: html5lib.tests.test_treewalkers.test_treewalker(None, u'<!-----><font><div>hello<table>excite!<b>me!<th><i>please!</tr><!--X-->', u'| <!-- - -->\n| <html>\n| <head>\n| <body>\n| <font>\n| <div>\n| "helloexcite!"\n| <b>\n| "me!"\n| <table>\n| <tbody>\n| <tr>\n| <th>\n| <i>\n| "please!"\n| <!-- X -->', [u"Line: 1 Col: 7 Unexpected '-' after '--' found in comment.", u'Line: 1 Col: 14 Unexpected start tag (font). Expected DOCTYPE.', u'Line: 1 Col: 38 Unexpected non-space characters in table context caused voodoo mode.', u'Line: 1 Col: 41 Unexpected start tag (b) in table context caused voodoo mode.', u'Line: 1 Col: 48 Unexpected implied end tag (b) in the table phase.', u'Line: 1 Col: 48 Unexpected table cell start tag (th) in the table body phase.', u'Line: 1 Col: 63 Got table cell end tag (th) while required end tags are missing.', u'Line: 1 Col: 71 Unexpected end of file. Expected table content.'], {u'walker': <class 'html5lib.treewalkers.lxmletree.TreeWalker'>, u'builder': <class 'html5lib.treebuilders.etree_lxml.TreeBuilder'>}) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/usr/lib64/python2.7/site-packages/nose/case.py", line 197, in runTest > self.test(*self.arg) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/tests/test_treewalkers.py", line 184, in runTreewalkerTest > document = p.parse(input) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 236, in parse > parseMeta=parseMeta, useChardet=useChardet) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 94, in _parse > self.mainLoop() > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 199, in mainLoop > new_token = phase.processStartTag(new_token) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 648, in processStartTag > self.insertHtmlElement() > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 627, in insertHtmlElement > self.tree.insertRoot(impliedTagToken("html", "StartTag")) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/etree_lxml.py", line 347, in insertRoot > root.addprevious(etree.Comment(comment_token["data"])) > File "src/lxml/lxml.etree.pyx", line 3017, in lxml.etree.Comment (src/lxml/lxml.etree.c:80806) >ValueError: Comment may not contain '--' or end with '-' > >====================================================================== >ERROR: html5lib.tests.test_treewalkers.test_treewalker(None, u'<?COM--MENT?>', u'| <!-- ?COM--MENT? -->\n| <html>\n| <head>\n| <body>', [u"Line: 1 Col: 1 Expected tag name. Got '?' instead. (HTML doesn't support processing instructions.)", u'Line: 1 Col: 13 Unexpected End of file. Expected DOCTYPE.'], {u'walker': <class 'html5lib.treewalkers.lxmletree.TreeWalker'>, u'builder': <class 'html5lib.treebuilders.etree_lxml.TreeBuilder'>}) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/usr/lib64/python2.7/site-packages/nose/case.py", line 197, in runTest > self.test(*self.arg) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/tests/test_treewalkers.py", line 184, in runTreewalkerTest > document = p.parse(input) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 236, in parse > parseMeta=parseMeta, useChardet=useChardet) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 94, in _parse > self.mainLoop() > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 217, in mainLoop > reprocess = self.phase.processEOF() > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 632, in processEOF > self.insertHtmlElement() > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 627, in insertHtmlElement > self.tree.insertRoot(impliedTagToken("html", "StartTag")) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/etree_lxml.py", line 347, in insertRoot > root.addprevious(etree.Comment(comment_token["data"])) > File "src/lxml/lxml.etree.pyx", line 3017, in lxml.etree.Comment (src/lxml/lxml.etree.c:80806) >ValueError: Comment may not contain '--' or end with '-' > >====================================================================== >ERROR: html5lib.tests.test_treewalkers.test_treewalker(None, u'<!COM--MENT>', u'| <!-- COM--MENT -->\n| <html>\n| <head>\n| <body>', [u"Line: 1 Col: 2 Expected '--' or 'DOCTYPE'. Not found.", u'Line: 1 Col: 12 Unexpected End of file. Expected DOCTYPE.'], {u'walker': <class 'html5lib.treewalkers.lxmletree.TreeWalker'>, u'builder': <class 'html5lib.treebuilders.etree_lxml.TreeBuilder'>}) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/usr/lib64/python2.7/site-packages/nose/case.py", line 197, in runTest > self.test(*self.arg) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/tests/test_treewalkers.py", line 184, in runTreewalkerTest > document = p.parse(input) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 236, in parse > parseMeta=parseMeta, useChardet=useChardet) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 94, in _parse > self.mainLoop() > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 217, in mainLoop > reprocess = self.phase.processEOF() > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 632, in processEOF > self.insertHtmlElement() > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 627, in insertHtmlElement > self.tree.insertRoot(impliedTagToken("html", "StartTag")) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/etree_lxml.py", line 347, in insertRoot > root.addprevious(etree.Comment(comment_token["data"])) > File "src/lxml/lxml.etree.pyx", line 3017, in lxml.etree.Comment (src/lxml/lxml.etree.c:80806) >ValueError: Comment may not contain '--' or end with '-' > >====================================================================== >ERROR: html5lib.tests.test_treewalkers.test_treewalker(None, u'</ COM--MENT >', u'| <!-- COM--MENT -->\n| <html>\n| <head>\n| <body>', [u"Line: 1 Col: 2 Expected closing tag. Unexpected character ' ' found.", u'Line: 1 Col: 14 Unexpected End of file. Expected DOCTYPE.'], {u'walker': <class 'html5lib.treewalkers.lxmletree.TreeWalker'>, u'builder': <class 'html5lib.treebuilders.etree_lxml.TreeBuilder'>}) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/usr/lib64/python2.7/site-packages/nose/case.py", line 197, in runTest > self.test(*self.arg) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/tests/test_treewalkers.py", line 184, in runTreewalkerTest > document = p.parse(input) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 236, in parse > parseMeta=parseMeta, useChardet=useChardet) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 94, in _parse > self.mainLoop() > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 217, in mainLoop > reprocess = self.phase.processEOF() > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 632, in processEOF > self.insertHtmlElement() > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 627, in insertHtmlElement > self.tree.insertRoot(impliedTagToken("html", "StartTag")) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/etree_lxml.py", line 347, in insertRoot > root.addprevious(etree.Comment(comment_token["data"])) > File "src/lxml/lxml.etree.pyx", line 3017, in lxml.etree.Comment (src/lxml/lxml.etree.c:80806) >ValueError: Comment may not contain '--' or end with '-' > >====================================================================== >ERROR: html5lib.tests.test_treewalkers.test_treewalker(None, u'<!--foo--bar-->', u'| <!-- foo--bar -->\n| <html>\n| <head>\n| <body>', [u''], {u'walker': <class 'html5lib.treewalkers.lxmletree.TreeWalker'>, u'builder': <class 'html5lib.treebuilders.etree_lxml.TreeBuilder'>}) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/usr/lib64/python2.7/site-packages/nose/case.py", line 197, in runTest > self.test(*self.arg) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/tests/test_treewalkers.py", line 184, in runTreewalkerTest > document = p.parse(input) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 236, in parse > parseMeta=parseMeta, useChardet=useChardet) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 94, in _parse > self.mainLoop() > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 217, in mainLoop > reprocess = self.phase.processEOF() > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 632, in processEOF > self.insertHtmlElement() > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 627, in insertHtmlElement > self.tree.insertRoot(impliedTagToken("html", "StartTag")) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/etree_lxml.py", line 347, in insertRoot > root.addprevious(etree.Comment(comment_token["data"])) > File "src/lxml/lxml.etree.pyx", line 3017, in lxml.etree.Comment (src/lxml/lxml.etree.c:80806) >ValueError: Comment may not contain '--' or end with '-' > >====================================================================== >ERROR: html5lib.tests.test_treewalkers.test_treewalker(None, u'FOO<!-- BAR -- >BAZ', u'| <html>\n| <head>\n| <body>\n| "FOO"\n| <!-- BAR -- >BAZ -->', [u''], {u'walker': <class 'html5lib.treewalkers.lxmletree.TreeWalker'>, u'builder': <class 'html5lib.treebuilders.etree_lxml.TreeBuilder'>}) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/usr/lib64/python2.7/site-packages/nose/case.py", line 197, in runTest > self.test(*self.arg) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/tests/test_treewalkers.py", line 184, in runTreewalkerTest > document = p.parse(input) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 236, in parse > parseMeta=parseMeta, useChardet=useChardet) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 94, in _parse > self.mainLoop() > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 203, in mainLoop > new_token = phase.processComment(new_token) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 468, in processComment > self.tree.insertComment(token, self.tree.openElements[-1]) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/etree_lxml.py", line 312, in insertCommentMain > super(TreeBuilder, self).insertComment(data, parent) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/_base.py", line 262, in insertComment > parent.appendChild(self.commentClass(token["data"])) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/etree.py", line 148, in __init__ > self._element = ElementTree.Comment(data) > File "src/lxml/lxml.etree.pyx", line 3017, in lxml.etree.Comment (src/lxml/lxml.etree.c:80806) >ValueError: Comment may not contain '--' or end with '-' > >====================================================================== >ERROR: html5lib.tests.test_treewalkers.test_treewalker(None, u'FOO<!-- BAR -- <QUX> -- MUX -->BAZ', u'| <html>\n| <head>\n| <body>\n| "FOO"\n| <!-- BAR -- <QUX> -- MUX -->\n| "BAZ"', [u''], {u'walker': <class 'html5lib.treewalkers.lxmletree.TreeWalker'>, u'builder': <class 'html5lib.treebuilders.etree_lxml.TreeBuilder'>}) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/usr/lib64/python2.7/site-packages/nose/case.py", line 197, in runTest > self.test(*self.arg) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/tests/test_treewalkers.py", line 184, in runTreewalkerTest > document = p.parse(input) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 236, in parse > parseMeta=parseMeta, useChardet=useChardet) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 94, in _parse > self.mainLoop() > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 203, in mainLoop > new_token = phase.processComment(new_token) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 468, in processComment > self.tree.insertComment(token, self.tree.openElements[-1]) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/etree_lxml.py", line 312, in insertCommentMain > super(TreeBuilder, self).insertComment(data, parent) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/_base.py", line 262, in insertComment > parent.appendChild(self.commentClass(token["data"])) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/etree.py", line 148, in __init__ > self._element = ElementTree.Comment(data) > File "src/lxml/lxml.etree.pyx", line 3017, in lxml.etree.Comment (src/lxml/lxml.etree.c:80806) >ValueError: Comment may not contain '--' or end with '-' > >====================================================================== >ERROR: html5lib.tests.test_treewalkers.test_treewalker(None, u'FOO<!-- BAR -- <QUX> -- MUX --!>BAZ', u'| <html>\n| <head>\n| <body>\n| "FOO"\n| <!-- BAR -- <QUX> -- MUX -->\n| "BAZ"', [u''], {u'walker': <class 'html5lib.treewalkers.lxmletree.TreeWalker'>, u'builder': <class 'html5lib.treebuilders.etree_lxml.TreeBuilder'>}) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/usr/lib64/python2.7/site-packages/nose/case.py", line 197, in runTest > self.test(*self.arg) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/tests/test_treewalkers.py", line 184, in runTreewalkerTest > document = p.parse(input) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 236, in parse > parseMeta=parseMeta, useChardet=useChardet) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 94, in _parse > self.mainLoop() > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 203, in mainLoop > new_token = phase.processComment(new_token) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 468, in processComment > self.tree.insertComment(token, self.tree.openElements[-1]) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/etree_lxml.py", line 312, in insertCommentMain > super(TreeBuilder, self).insertComment(data, parent) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/_base.py", line 262, in insertComment > parent.appendChild(self.commentClass(token["data"])) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/etree.py", line 148, in __init__ > self._element = ElementTree.Comment(data) > File "src/lxml/lxml.etree.pyx", line 3017, in lxml.etree.Comment (src/lxml/lxml.etree.c:80806) >ValueError: Comment may not contain '--' or end with '-' > >====================================================================== >ERROR: html5lib.tests.test_treewalkers.test_treewalker(None, u'FOO<!-- BAR -- <QUX> -- MUX -- >BAZ', u'| <html>\n| <head>\n| <body>\n| "FOO"\n| <!-- BAR -- <QUX> -- MUX -- >BAZ -->', [u''], {u'walker': <class 'html5lib.treewalkers.lxmletree.TreeWalker'>, u'builder': <class 'html5lib.treebuilders.etree_lxml.TreeBuilder'>}) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/usr/lib64/python2.7/site-packages/nose/case.py", line 197, in runTest > self.test(*self.arg) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/tests/test_treewalkers.py", line 184, in runTreewalkerTest > document = p.parse(input) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 236, in parse > parseMeta=parseMeta, useChardet=useChardet) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 94, in _parse > self.mainLoop() > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 203, in mainLoop > new_token = phase.processComment(new_token) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 468, in processComment > self.tree.insertComment(token, self.tree.openElements[-1]) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/etree_lxml.py", line 312, in insertCommentMain > super(TreeBuilder, self).insertComment(data, parent) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/_base.py", line 262, in insertComment > parent.appendChild(self.commentClass(token["data"])) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/etree.py", line 148, in __init__ > self._element = ElementTree.Comment(data) > File "src/lxml/lxml.etree.pyx", line 3017, in lxml.etree.Comment (src/lxml/lxml.etree.c:80806) >ValueError: Comment may not contain '--' or end with '-' > >====================================================================== >ERROR: html5lib.tests.test_treewalkers.test_treewalker(None, u'FOO<!----->BAZ', u'| <html>\n| <head>\n| <body>\n| "FOO"\n| <!-- - -->\n| "BAZ"', [u''], {u'walker': <class 'html5lib.treewalkers.lxmletree.TreeWalker'>, u'builder': <class 'html5lib.treebuilders.etree_lxml.TreeBuilder'>}) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/usr/lib64/python2.7/site-packages/nose/case.py", line 197, in runTest > self.test(*self.arg) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/tests/test_treewalkers.py", line 184, in runTreewalkerTest > document = p.parse(input) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 236, in parse > parseMeta=parseMeta, useChardet=useChardet) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 94, in _parse > self.mainLoop() > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 203, in mainLoop > new_token = phase.processComment(new_token) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 468, in processComment > self.tree.insertComment(token, self.tree.openElements[-1]) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/etree_lxml.py", line 312, in insertCommentMain > super(TreeBuilder, self).insertComment(data, parent) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/_base.py", line 262, in insertComment > parent.appendChild(self.commentClass(token["data"])) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/etree.py", line 148, in __init__ > self._element = ElementTree.Comment(data) > File "src/lxml/lxml.etree.pyx", line 3017, in lxml.etree.Comment (src/lxml/lxml.etree.c:80806) >ValueError: Comment may not contain '--' or end with '-' > >====================================================================== >FAIL: html5lib.tests.test_parser.test_parser(None, u'<!-----><font><div>hello<table>excite!<b>me!<th><i>please!</tr><!--X-->', u'| <!-- - -->\n| <html>\n| <head>\n| <body>\n| <font>\n| <div>\n| "helloexcite!"\n| <b>\n| "me!"\n| <table>\n| <tbody>\n| <tr>\n| <th>\n| <i>\n| "please!"\n| <!-- X -->', [u"Line: 1 Col: 7 Unexpected '-' after '--' found in comment.", u'Line: 1 Col: 14 Unexpected start tag (font). Expected DOCTYPE.', u'Line: 1 Col: 38 Unexpected non-space characters in table context caused voodoo mode.', u'Line: 1 Col: 41 Unexpected start tag (b) in table context caused voodoo mode.', u'Line: 1 Col: 48 Unexpected implied end tag (b) in the table phase.', u'Line: 1 Col: 48 Unexpected table cell start tag (th) in the table body phase.', u'Line: 1 Col: 63 Got table cell end tag (th) while required end tags are missing.', u'Line: 1 Col: 71 Unexpected end of file. Expected table content.'], <class 'html5lib.treebuilders.etree_lxml.TreeBuilder'>, True) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/usr/lib64/python2.7/site-packages/nose/case.py", line 197, in runTest > self.test(*self.arg) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/tests/test_parser.py", line 43, in runParserTest > assert False, errorMsg >AssertionError: > >Input: ><!-----><font><div>hello<table>excite!<b>me!<th><i>please!</tr><!--X--> > >Expected: >| <!-- - --> >| <html> >| <head> >| <body> >| <font> >| <div> >| "helloexcite!" >| <b> >| "me!" >| <table> >| <tbody> >| <tr> >| <th> >| <i> >| "please!" >| <!-- X --> > >Traceback: >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/tests/test_parser.py", line 39, in runParserTest > document = p.parse(input) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 236, in parse > parseMeta=parseMeta, useChardet=useChardet) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 94, in _parse > self.mainLoop() > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 199, in mainLoop > new_token = phase.processStartTag(new_token) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 648, in processStartTag > self.insertHtmlElement() > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 627, in insertHtmlElement > self.tree.insertRoot(impliedTagToken("html", "StartTag")) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/etree_lxml.py", line 347, in insertRoot > root.addprevious(etree.Comment(comment_token["data"])) > File "src/lxml/lxml.etree.pyx", line 3017, in lxml.etree.Comment (src/lxml/lxml.etree.c:80806) >ValueError: Comment may not contain '--' or end with '-' > > >====================================================================== >FAIL: html5lib.tests.test_parser.test_parser(None, u'<!-----><font><div>hello<table>excite!<b>me!<th><i>please!</tr><!--X-->', u'| <!-- - -->\n| <html>\n| <head>\n| <body>\n| <font>\n| <div>\n| "helloexcite!"\n| <b>\n| "me!"\n| <table>\n| <tbody>\n| <tr>\n| <th>\n| <i>\n| "please!"\n| <!-- X -->', [u"Line: 1 Col: 7 Unexpected '-' after '--' found in comment.", u'Line: 1 Col: 14 Unexpected start tag (font). Expected DOCTYPE.', u'Line: 1 Col: 38 Unexpected non-space characters in table context caused voodoo mode.', u'Line: 1 Col: 41 Unexpected start tag (b) in table context caused voodoo mode.', u'Line: 1 Col: 48 Unexpected implied end tag (b) in the table phase.', u'Line: 1 Col: 48 Unexpected table cell start tag (th) in the table body phase.', u'Line: 1 Col: 63 Got table cell end tag (th) while required end tags are missing.', u'Line: 1 Col: 71 Unexpected end of file. Expected table content.'], <class 'html5lib.treebuilders.etree_lxml.TreeBuilder'>, False) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/usr/lib64/python2.7/site-packages/nose/case.py", line 197, in runTest > self.test(*self.arg) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/tests/test_parser.py", line 43, in runParserTest > assert False, errorMsg >AssertionError: > >Input: ><!-----><font><div>hello<table>excite!<b>me!<th><i>please!</tr><!--X--> > >Expected: >| <!-- - --> >| <html> >| <head> >| <body> >| <font> >| <div> >| "helloexcite!" >| <b> >| "me!" >| <table> >| <tbody> >| <tr> >| <th> >| <i> >| "please!" >| <!-- X --> > >Traceback: >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/tests/test_parser.py", line 39, in runParserTest > document = p.parse(input) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 236, in parse > parseMeta=parseMeta, useChardet=useChardet) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 94, in _parse > self.mainLoop() > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 199, in mainLoop > new_token = phase.processStartTag(new_token) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 648, in processStartTag > self.insertHtmlElement() > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 627, in insertHtmlElement > self.tree.insertRoot(impliedTagToken("html", "StartTag")) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/etree_lxml.py", line 347, in insertRoot > root.addprevious(etree.Comment(comment_token["data"])) > File "src/lxml/lxml.etree.pyx", line 3017, in lxml.etree.Comment (src/lxml/lxml.etree.c:80806) >ValueError: Comment may not contain '--' or end with '-' > > >====================================================================== >FAIL: html5lib.tests.test_parser.test_parser(None, u'<?COM--MENT?>', u'| <!-- ?COM--MENT? -->\n| <html>\n| <head>\n| <body>', [u"Line: 1 Col: 1 Expected tag name. Got '?' instead. (HTML doesn't support processing instructions.)", u'Line: 1 Col: 13 Unexpected End of file. Expected DOCTYPE.'], <class 'html5lib.treebuilders.etree_lxml.TreeBuilder'>, True) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/usr/lib64/python2.7/site-packages/nose/case.py", line 197, in runTest > self.test(*self.arg) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/tests/test_parser.py", line 43, in runParserTest > assert False, errorMsg >AssertionError: > >Input: ><?COM--MENT?> > >Expected: >| <!-- ?COM--MENT? --> >| <html> >| <head> >| <body> > >Traceback: >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/tests/test_parser.py", line 39, in runParserTest > document = p.parse(input) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 236, in parse > parseMeta=parseMeta, useChardet=useChardet) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 94, in _parse > self.mainLoop() > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 217, in mainLoop > reprocess = self.phase.processEOF() > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 632, in processEOF > self.insertHtmlElement() > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 627, in insertHtmlElement > self.tree.insertRoot(impliedTagToken("html", "StartTag")) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/etree_lxml.py", line 347, in insertRoot > root.addprevious(etree.Comment(comment_token["data"])) > File "src/lxml/lxml.etree.pyx", line 3017, in lxml.etree.Comment (src/lxml/lxml.etree.c:80806) >ValueError: Comment may not contain '--' or end with '-' > > >====================================================================== >FAIL: html5lib.tests.test_parser.test_parser(None, u'<?COM--MENT?>', u'| <!-- ?COM--MENT? -->\n| <html>\n| <head>\n| <body>', [u"Line: 1 Col: 1 Expected tag name. Got '?' instead. (HTML doesn't support processing instructions.)", u'Line: 1 Col: 13 Unexpected End of file. Expected DOCTYPE.'], <class 'html5lib.treebuilders.etree_lxml.TreeBuilder'>, False) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/usr/lib64/python2.7/site-packages/nose/case.py", line 197, in runTest > self.test(*self.arg) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/tests/test_parser.py", line 43, in runParserTest > assert False, errorMsg >AssertionError: > >Input: ><?COM--MENT?> > >Expected: >| <!-- ?COM--MENT? --> >| <html> >| <head> >| <body> > >Traceback: >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/tests/test_parser.py", line 39, in runParserTest > document = p.parse(input) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 236, in parse > parseMeta=parseMeta, useChardet=useChardet) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 94, in _parse > self.mainLoop() > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 217, in mainLoop > reprocess = self.phase.processEOF() > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 632, in processEOF > self.insertHtmlElement() > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 627, in insertHtmlElement > self.tree.insertRoot(impliedTagToken("html", "StartTag")) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/etree_lxml.py", line 347, in insertRoot > root.addprevious(etree.Comment(comment_token["data"])) > File "src/lxml/lxml.etree.pyx", line 3017, in lxml.etree.Comment (src/lxml/lxml.etree.c:80806) >ValueError: Comment may not contain '--' or end with '-' > > >====================================================================== >FAIL: html5lib.tests.test_parser.test_parser(None, u'<!COM--MENT>', u'| <!-- COM--MENT -->\n| <html>\n| <head>\n| <body>', [u"Line: 1 Col: 2 Expected '--' or 'DOCTYPE'. Not found.", u'Line: 1 Col: 12 Unexpected End of file. Expected DOCTYPE.'], <class 'html5lib.treebuilders.etree_lxml.TreeBuilder'>, True) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/usr/lib64/python2.7/site-packages/nose/case.py", line 197, in runTest > self.test(*self.arg) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/tests/test_parser.py", line 43, in runParserTest > assert False, errorMsg >AssertionError: > >Input: ><!COM--MENT> > >Expected: >| <!-- COM--MENT --> >| <html> >| <head> >| <body> > >Traceback: >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/tests/test_parser.py", line 39, in runParserTest > document = p.parse(input) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 236, in parse > parseMeta=parseMeta, useChardet=useChardet) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 94, in _parse > self.mainLoop() > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 217, in mainLoop > reprocess = self.phase.processEOF() > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 632, in processEOF > self.insertHtmlElement() > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 627, in insertHtmlElement > self.tree.insertRoot(impliedTagToken("html", "StartTag")) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/etree_lxml.py", line 347, in insertRoot > root.addprevious(etree.Comment(comment_token["data"])) > File "src/lxml/lxml.etree.pyx", line 3017, in lxml.etree.Comment (src/lxml/lxml.etree.c:80806) >ValueError: Comment may not contain '--' or end with '-' > > >====================================================================== >FAIL: html5lib.tests.test_parser.test_parser(None, u'<!COM--MENT>', u'| <!-- COM--MENT -->\n| <html>\n| <head>\n| <body>', [u"Line: 1 Col: 2 Expected '--' or 'DOCTYPE'. Not found.", u'Line: 1 Col: 12 Unexpected End of file. Expected DOCTYPE.'], <class 'html5lib.treebuilders.etree_lxml.TreeBuilder'>, False) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/usr/lib64/python2.7/site-packages/nose/case.py", line 197, in runTest > self.test(*self.arg) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/tests/test_parser.py", line 43, in runParserTest > assert False, errorMsg >AssertionError: > >Input: ><!COM--MENT> > >Expected: >| <!-- COM--MENT --> >| <html> >| <head> >| <body> > >Traceback: >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/tests/test_parser.py", line 39, in runParserTest > document = p.parse(input) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 236, in parse > parseMeta=parseMeta, useChardet=useChardet) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 94, in _parse > self.mainLoop() > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 217, in mainLoop > reprocess = self.phase.processEOF() > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 632, in processEOF > self.insertHtmlElement() > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 627, in insertHtmlElement > self.tree.insertRoot(impliedTagToken("html", "StartTag")) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/etree_lxml.py", line 347, in insertRoot > root.addprevious(etree.Comment(comment_token["data"])) > File "src/lxml/lxml.etree.pyx", line 3017, in lxml.etree.Comment (src/lxml/lxml.etree.c:80806) >ValueError: Comment may not contain '--' or end with '-' > > >====================================================================== >FAIL: html5lib.tests.test_parser.test_parser(None, u'</ COM--MENT >', u'| <!-- COM--MENT -->\n| <html>\n| <head>\n| <body>', [u"Line: 1 Col: 2 Expected closing tag. Unexpected character ' ' found.", u'Line: 1 Col: 14 Unexpected End of file. Expected DOCTYPE.'], <class 'html5lib.treebuilders.etree_lxml.TreeBuilder'>, True) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/usr/lib64/python2.7/site-packages/nose/case.py", line 197, in runTest > self.test(*self.arg) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/tests/test_parser.py", line 43, in runParserTest > assert False, errorMsg >AssertionError: > >Input: ></ COM--MENT > > >Expected: >| <!-- COM--MENT --> >| <html> >| <head> >| <body> > >Traceback: >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/tests/test_parser.py", line 39, in runParserTest > document = p.parse(input) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 236, in parse > parseMeta=parseMeta, useChardet=useChardet) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 94, in _parse > self.mainLoop() > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 217, in mainLoop > reprocess = self.phase.processEOF() > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 632, in processEOF > self.insertHtmlElement() > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 627, in insertHtmlElement > self.tree.insertRoot(impliedTagToken("html", "StartTag")) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/etree_lxml.py", line 347, in insertRoot > root.addprevious(etree.Comment(comment_token["data"])) > File "src/lxml/lxml.etree.pyx", line 3017, in lxml.etree.Comment (src/lxml/lxml.etree.c:80806) >ValueError: Comment may not contain '--' or end with '-' > > >====================================================================== >FAIL: html5lib.tests.test_parser.test_parser(None, u'</ COM--MENT >', u'| <!-- COM--MENT -->\n| <html>\n| <head>\n| <body>', [u"Line: 1 Col: 2 Expected closing tag. Unexpected character ' ' found.", u'Line: 1 Col: 14 Unexpected End of file. Expected DOCTYPE.'], <class 'html5lib.treebuilders.etree_lxml.TreeBuilder'>, False) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/usr/lib64/python2.7/site-packages/nose/case.py", line 197, in runTest > self.test(*self.arg) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/tests/test_parser.py", line 43, in runParserTest > assert False, errorMsg >AssertionError: > >Input: ></ COM--MENT > > >Expected: >| <!-- COM--MENT --> >| <html> >| <head> >| <body> > >Traceback: >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/tests/test_parser.py", line 39, in runParserTest > document = p.parse(input) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 236, in parse > parseMeta=parseMeta, useChardet=useChardet) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 94, in _parse > self.mainLoop() > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 217, in mainLoop > reprocess = self.phase.processEOF() > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 632, in processEOF > self.insertHtmlElement() > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 627, in insertHtmlElement > self.tree.insertRoot(impliedTagToken("html", "StartTag")) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/etree_lxml.py", line 347, in insertRoot > root.addprevious(etree.Comment(comment_token["data"])) > File "src/lxml/lxml.etree.pyx", line 3017, in lxml.etree.Comment (src/lxml/lxml.etree.c:80806) >ValueError: Comment may not contain '--' or end with '-' > > >====================================================================== >FAIL: html5lib.tests.test_parser.test_parser(None, u'<!--foo--bar-->', u'| <!-- foo--bar -->\n| <html>\n| <head>\n| <body>', u'', <class 'html5lib.treebuilders.etree_lxml.TreeBuilder'>, True) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/usr/lib64/python2.7/site-packages/nose/case.py", line 197, in runTest > self.test(*self.arg) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/tests/test_parser.py", line 43, in runParserTest > assert False, errorMsg >AssertionError: > >Input: ><!--foo--bar--> > >Expected: >| <!-- foo--bar --> >| <html> >| <head> >| <body> > >Traceback: >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/tests/test_parser.py", line 39, in runParserTest > document = p.parse(input) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 236, in parse > parseMeta=parseMeta, useChardet=useChardet) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 94, in _parse > self.mainLoop() > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 217, in mainLoop > reprocess = self.phase.processEOF() > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 632, in processEOF > self.insertHtmlElement() > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 627, in insertHtmlElement > self.tree.insertRoot(impliedTagToken("html", "StartTag")) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/etree_lxml.py", line 347, in insertRoot > root.addprevious(etree.Comment(comment_token["data"])) > File "src/lxml/lxml.etree.pyx", line 3017, in lxml.etree.Comment (src/lxml/lxml.etree.c:80806) >ValueError: Comment may not contain '--' or end with '-' > > >====================================================================== >FAIL: html5lib.tests.test_parser.test_parser(None, u'<!--foo--bar-->', u'| <!-- foo--bar -->\n| <html>\n| <head>\n| <body>', u'', <class 'html5lib.treebuilders.etree_lxml.TreeBuilder'>, False) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/usr/lib64/python2.7/site-packages/nose/case.py", line 197, in runTest > self.test(*self.arg) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/tests/test_parser.py", line 43, in runParserTest > assert False, errorMsg >AssertionError: > >Input: ><!--foo--bar--> > >Expected: >| <!-- foo--bar --> >| <html> >| <head> >| <body> > >Traceback: >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/tests/test_parser.py", line 39, in runParserTest > document = p.parse(input) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 236, in parse > parseMeta=parseMeta, useChardet=useChardet) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 94, in _parse > self.mainLoop() > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 217, in mainLoop > reprocess = self.phase.processEOF() > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 632, in processEOF > self.insertHtmlElement() > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 627, in insertHtmlElement > self.tree.insertRoot(impliedTagToken("html", "StartTag")) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/etree_lxml.py", line 347, in insertRoot > root.addprevious(etree.Comment(comment_token["data"])) > File "src/lxml/lxml.etree.pyx", line 3017, in lxml.etree.Comment (src/lxml/lxml.etree.c:80806) >ValueError: Comment may not contain '--' or end with '-' > > >====================================================================== >FAIL: html5lib.tests.test_parser.test_parser(None, u'FOO<!-- BAR -- >BAZ', u'| <html>\n| <head>\n| <body>\n| "FOO"\n| <!-- BAR -- >BAZ -->', u'', <class 'html5lib.treebuilders.etree_lxml.TreeBuilder'>, True) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/usr/lib64/python2.7/site-packages/nose/case.py", line 197, in runTest > self.test(*self.arg) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/tests/test_parser.py", line 43, in runParserTest > assert False, errorMsg >AssertionError: > >Input: >FOO<!-- BAR -- >BAZ > >Expected: >| <html> >| <head> >| <body> >| "FOO" >| <!-- BAR -- >BAZ --> > >Traceback: >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/tests/test_parser.py", line 39, in runParserTest > document = p.parse(input) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 236, in parse > parseMeta=parseMeta, useChardet=useChardet) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 94, in _parse > self.mainLoop() > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 203, in mainLoop > new_token = phase.processComment(new_token) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 468, in processComment > self.tree.insertComment(token, self.tree.openElements[-1]) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/etree_lxml.py", line 312, in insertCommentMain > super(TreeBuilder, self).insertComment(data, parent) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/_base.py", line 262, in insertComment > parent.appendChild(self.commentClass(token["data"])) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/etree.py", line 148, in __init__ > self._element = ElementTree.Comment(data) > File "src/lxml/lxml.etree.pyx", line 3017, in lxml.etree.Comment (src/lxml/lxml.etree.c:80806) >ValueError: Comment may not contain '--' or end with '-' > > >====================================================================== >FAIL: html5lib.tests.test_parser.test_parser(None, u'FOO<!-- BAR -- >BAZ', u'| <html>\n| <head>\n| <body>\n| "FOO"\n| <!-- BAR -- >BAZ -->', u'', <class 'html5lib.treebuilders.etree_lxml.TreeBuilder'>, False) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/usr/lib64/python2.7/site-packages/nose/case.py", line 197, in runTest > self.test(*self.arg) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/tests/test_parser.py", line 43, in runParserTest > assert False, errorMsg >AssertionError: > >Input: >FOO<!-- BAR -- >BAZ > >Expected: >| <html> >| <head> >| <body> >| "FOO" >| <!-- BAR -- >BAZ --> > >Traceback: >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/tests/test_parser.py", line 39, in runParserTest > document = p.parse(input) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 236, in parse > parseMeta=parseMeta, useChardet=useChardet) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 94, in _parse > self.mainLoop() > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 203, in mainLoop > new_token = phase.processComment(new_token) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 468, in processComment > self.tree.insertComment(token, self.tree.openElements[-1]) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/etree_lxml.py", line 312, in insertCommentMain > super(TreeBuilder, self).insertComment(data, parent) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/_base.py", line 262, in insertComment > parent.appendChild(self.commentClass(token["data"])) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/etree.py", line 148, in __init__ > self._element = ElementTree.Comment(data) > File "src/lxml/lxml.etree.pyx", line 3017, in lxml.etree.Comment (src/lxml/lxml.etree.c:80806) >ValueError: Comment may not contain '--' or end with '-' > > >====================================================================== >FAIL: html5lib.tests.test_parser.test_parser(None, u'FOO<!-- BAR -- <QUX> -- MUX -->BAZ', u'| <html>\n| <head>\n| <body>\n| "FOO"\n| <!-- BAR -- <QUX> -- MUX -->\n| "BAZ"', u'', <class 'html5lib.treebuilders.etree_lxml.TreeBuilder'>, True) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/usr/lib64/python2.7/site-packages/nose/case.py", line 197, in runTest > self.test(*self.arg) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/tests/test_parser.py", line 43, in runParserTest > assert False, errorMsg >AssertionError: > >Input: >FOO<!-- BAR -- <QUX> -- MUX -->BAZ > >Expected: >| <html> >| <head> >| <body> >| "FOO" >| <!-- BAR -- <QUX> -- MUX --> >| "BAZ" > >Traceback: >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/tests/test_parser.py", line 39, in runParserTest > document = p.parse(input) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 236, in parse > parseMeta=parseMeta, useChardet=useChardet) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 94, in _parse > self.mainLoop() > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 203, in mainLoop > new_token = phase.processComment(new_token) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 468, in processComment > self.tree.insertComment(token, self.tree.openElements[-1]) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/etree_lxml.py", line 312, in insertCommentMain > super(TreeBuilder, self).insertComment(data, parent) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/_base.py", line 262, in insertComment > parent.appendChild(self.commentClass(token["data"])) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/etree.py", line 148, in __init__ > self._element = ElementTree.Comment(data) > File "src/lxml/lxml.etree.pyx", line 3017, in lxml.etree.Comment (src/lxml/lxml.etree.c:80806) >ValueError: Comment may not contain '--' or end with '-' > > >====================================================================== >FAIL: html5lib.tests.test_parser.test_parser(None, u'FOO<!-- BAR -- <QUX> -- MUX -->BAZ', u'| <html>\n| <head>\n| <body>\n| "FOO"\n| <!-- BAR -- <QUX> -- MUX -->\n| "BAZ"', u'', <class 'html5lib.treebuilders.etree_lxml.TreeBuilder'>, False) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/usr/lib64/python2.7/site-packages/nose/case.py", line 197, in runTest > self.test(*self.arg) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/tests/test_parser.py", line 43, in runParserTest > assert False, errorMsg >AssertionError: > >Input: >FOO<!-- BAR -- <QUX> -- MUX -->BAZ > >Expected: >| <html> >| <head> >| <body> >| "FOO" >| <!-- BAR -- <QUX> -- MUX --> >| "BAZ" > >Traceback: >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/tests/test_parser.py", line 39, in runParserTest > document = p.parse(input) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 236, in parse > parseMeta=parseMeta, useChardet=useChardet) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 94, in _parse > self.mainLoop() > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 203, in mainLoop > new_token = phase.processComment(new_token) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 468, in processComment > self.tree.insertComment(token, self.tree.openElements[-1]) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/etree_lxml.py", line 312, in insertCommentMain > super(TreeBuilder, self).insertComment(data, parent) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/_base.py", line 262, in insertComment > parent.appendChild(self.commentClass(token["data"])) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/etree.py", line 148, in __init__ > self._element = ElementTree.Comment(data) > File "src/lxml/lxml.etree.pyx", line 3017, in lxml.etree.Comment (src/lxml/lxml.etree.c:80806) >ValueError: Comment may not contain '--' or end with '-' > > >====================================================================== >FAIL: html5lib.tests.test_parser.test_parser(None, u'FOO<!-- BAR -- <QUX> -- MUX --!>BAZ', u'| <html>\n| <head>\n| <body>\n| "FOO"\n| <!-- BAR -- <QUX> -- MUX -->\n| "BAZ"', u'', <class 'html5lib.treebuilders.etree_lxml.TreeBuilder'>, True) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/usr/lib64/python2.7/site-packages/nose/case.py", line 197, in runTest > self.test(*self.arg) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/tests/test_parser.py", line 43, in runParserTest > assert False, errorMsg >AssertionError: > >Input: >FOO<!-- BAR -- <QUX> -- MUX --!>BAZ > >Expected: >| <html> >| <head> >| <body> >| "FOO" >| <!-- BAR -- <QUX> -- MUX --> >| "BAZ" > >Traceback: >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/tests/test_parser.py", line 39, in runParserTest > document = p.parse(input) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 236, in parse > parseMeta=parseMeta, useChardet=useChardet) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 94, in _parse > self.mainLoop() > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 203, in mainLoop > new_token = phase.processComment(new_token) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 468, in processComment > self.tree.insertComment(token, self.tree.openElements[-1]) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/etree_lxml.py", line 312, in insertCommentMain > super(TreeBuilder, self).insertComment(data, parent) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/_base.py", line 262, in insertComment > parent.appendChild(self.commentClass(token["data"])) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/etree.py", line 148, in __init__ > self._element = ElementTree.Comment(data) > File "src/lxml/lxml.etree.pyx", line 3017, in lxml.etree.Comment (src/lxml/lxml.etree.c:80806) >ValueError: Comment may not contain '--' or end with '-' > > >====================================================================== >FAIL: html5lib.tests.test_parser.test_parser(None, u'FOO<!-- BAR -- <QUX> -- MUX --!>BAZ', u'| <html>\n| <head>\n| <body>\n| "FOO"\n| <!-- BAR -- <QUX> -- MUX -->\n| "BAZ"', u'', <class 'html5lib.treebuilders.etree_lxml.TreeBuilder'>, False) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/usr/lib64/python2.7/site-packages/nose/case.py", line 197, in runTest > self.test(*self.arg) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/tests/test_parser.py", line 43, in runParserTest > assert False, errorMsg >AssertionError: > >Input: >FOO<!-- BAR -- <QUX> -- MUX --!>BAZ > >Expected: >| <html> >| <head> >| <body> >| "FOO" >| <!-- BAR -- <QUX> -- MUX --> >| "BAZ" > >Traceback: >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/tests/test_parser.py", line 39, in runParserTest > document = p.parse(input) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 236, in parse > parseMeta=parseMeta, useChardet=useChardet) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 94, in _parse > self.mainLoop() > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 203, in mainLoop > new_token = phase.processComment(new_token) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 468, in processComment > self.tree.insertComment(token, self.tree.openElements[-1]) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/etree_lxml.py", line 312, in insertCommentMain > super(TreeBuilder, self).insertComment(data, parent) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/_base.py", line 262, in insertComment > parent.appendChild(self.commentClass(token["data"])) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/etree.py", line 148, in __init__ > self._element = ElementTree.Comment(data) > File "src/lxml/lxml.etree.pyx", line 3017, in lxml.etree.Comment (src/lxml/lxml.etree.c:80806) >ValueError: Comment may not contain '--' or end with '-' > > >====================================================================== >FAIL: html5lib.tests.test_parser.test_parser(None, u'FOO<!-- BAR -- <QUX> -- MUX -- >BAZ', u'| <html>\n| <head>\n| <body>\n| "FOO"\n| <!-- BAR -- <QUX> -- MUX -- >BAZ -->', u'', <class 'html5lib.treebuilders.etree_lxml.TreeBuilder'>, True) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/usr/lib64/python2.7/site-packages/nose/case.py", line 197, in runTest > self.test(*self.arg) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/tests/test_parser.py", line 43, in runParserTest > assert False, errorMsg >AssertionError: > >Input: >FOO<!-- BAR -- <QUX> -- MUX -- >BAZ > >Expected: >| <html> >| <head> >| <body> >| "FOO" >| <!-- BAR -- <QUX> -- MUX -- >BAZ --> > >Traceback: >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/tests/test_parser.py", line 39, in runParserTest > document = p.parse(input) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 236, in parse > parseMeta=parseMeta, useChardet=useChardet) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 94, in _parse > self.mainLoop() > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 203, in mainLoop > new_token = phase.processComment(new_token) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 468, in processComment > self.tree.insertComment(token, self.tree.openElements[-1]) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/etree_lxml.py", line 312, in insertCommentMain > super(TreeBuilder, self).insertComment(data, parent) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/_base.py", line 262, in insertComment > parent.appendChild(self.commentClass(token["data"])) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/etree.py", line 148, in __init__ > self._element = ElementTree.Comment(data) > File "src/lxml/lxml.etree.pyx", line 3017, in lxml.etree.Comment (src/lxml/lxml.etree.c:80806) >ValueError: Comment may not contain '--' or end with '-' > > >====================================================================== >FAIL: html5lib.tests.test_parser.test_parser(None, u'FOO<!-- BAR -- <QUX> -- MUX -- >BAZ', u'| <html>\n| <head>\n| <body>\n| "FOO"\n| <!-- BAR -- <QUX> -- MUX -- >BAZ -->', u'', <class 'html5lib.treebuilders.etree_lxml.TreeBuilder'>, False) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/usr/lib64/python2.7/site-packages/nose/case.py", line 197, in runTest > self.test(*self.arg) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/tests/test_parser.py", line 43, in runParserTest > assert False, errorMsg >AssertionError: > >Input: >FOO<!-- BAR -- <QUX> -- MUX -- >BAZ > >Expected: >| <html> >| <head> >| <body> >| "FOO" >| <!-- BAR -- <QUX> -- MUX -- >BAZ --> > >Traceback: >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/tests/test_parser.py", line 39, in runParserTest > document = p.parse(input) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 236, in parse > parseMeta=parseMeta, useChardet=useChardet) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 94, in _parse > self.mainLoop() > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 203, in mainLoop > new_token = phase.processComment(new_token) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 468, in processComment > self.tree.insertComment(token, self.tree.openElements[-1]) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/etree_lxml.py", line 312, in insertCommentMain > super(TreeBuilder, self).insertComment(data, parent) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/_base.py", line 262, in insertComment > parent.appendChild(self.commentClass(token["data"])) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/etree.py", line 148, in __init__ > self._element = ElementTree.Comment(data) > File "src/lxml/lxml.etree.pyx", line 3017, in lxml.etree.Comment (src/lxml/lxml.etree.c:80806) >ValueError: Comment may not contain '--' or end with '-' > > >====================================================================== >FAIL: html5lib.tests.test_parser.test_parser(None, u'FOO<!----->BAZ', u'| <html>\n| <head>\n| <body>\n| "FOO"\n| <!-- - -->\n| "BAZ"', u'', <class 'html5lib.treebuilders.etree_lxml.TreeBuilder'>, True) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/usr/lib64/python2.7/site-packages/nose/case.py", line 197, in runTest > self.test(*self.arg) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/tests/test_parser.py", line 43, in runParserTest > assert False, errorMsg >AssertionError: > >Input: >FOO<!----->BAZ > >Expected: >| <html> >| <head> >| <body> >| "FOO" >| <!-- - --> >| "BAZ" > >Traceback: >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/tests/test_parser.py", line 39, in runParserTest > document = p.parse(input) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 236, in parse > parseMeta=parseMeta, useChardet=useChardet) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 94, in _parse > self.mainLoop() > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 203, in mainLoop > new_token = phase.processComment(new_token) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 468, in processComment > self.tree.insertComment(token, self.tree.openElements[-1]) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/etree_lxml.py", line 312, in insertCommentMain > super(TreeBuilder, self).insertComment(data, parent) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/_base.py", line 262, in insertComment > parent.appendChild(self.commentClass(token["data"])) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/etree.py", line 148, in __init__ > self._element = ElementTree.Comment(data) > File "src/lxml/lxml.etree.pyx", line 3017, in lxml.etree.Comment (src/lxml/lxml.etree.c:80806) >ValueError: Comment may not contain '--' or end with '-' > > >====================================================================== >FAIL: html5lib.tests.test_parser.test_parser(None, u'FOO<!----->BAZ', u'| <html>\n| <head>\n| <body>\n| "FOO"\n| <!-- - -->\n| "BAZ"', u'', <class 'html5lib.treebuilders.etree_lxml.TreeBuilder'>, False) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/usr/lib64/python2.7/site-packages/nose/case.py", line 197, in runTest > self.test(*self.arg) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/tests/test_parser.py", line 43, in runParserTest > assert False, errorMsg >AssertionError: > >Input: >FOO<!----->BAZ > >Expected: >| <html> >| <head> >| <body> >| "FOO" >| <!-- - --> >| "BAZ" > >Traceback: >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/tests/test_parser.py", line 39, in runParserTest > document = p.parse(input) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 236, in parse > parseMeta=parseMeta, useChardet=useChardet) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 94, in _parse > self.mainLoop() > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 203, in mainLoop > new_token = phase.processComment(new_token) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 468, in processComment > self.tree.insertComment(token, self.tree.openElements[-1]) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/etree_lxml.py", line 312, in insertCommentMain > super(TreeBuilder, self).insertComment(data, parent) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/_base.py", line 262, in insertComment > parent.appendChild(self.commentClass(token["data"])) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/etree.py", line 148, in __init__ > self._element = ElementTree.Comment(data) > File "src/lxml/lxml.etree.pyx", line 3017, in lxml.etree.Comment (src/lxml/lxml.etree.c:80806) >ValueError: Comment may not contain '--' or end with '-' > > >====================================================================== >FAIL: html5lib.tests.test_parser.test_parser(None, u'<!DOCTYPE <!DOCTYPE HTML>><!--<!--x-->-->', u'| <!DOCTYPE <!doctype>\n| <html>\n| <head>\n| <body>\n| ">"\n| <!-- <!--x -->\n| "-->"', [u"Line: 1 Col: 20 Expected space or '>'. Got ''", u'Line: 1 Col: 25 Erroneous DOCTYPE.', u'Line: 1 Col: 35 Unexpected character in comment found.'], <class 'html5lib.treebuilders.etree_lxml.TreeBuilder'>, True) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/usr/lib64/python2.7/site-packages/nose/case.py", line 197, in runTest > self.test(*self.arg) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/tests/test_parser.py", line 43, in runParserTest > assert False, errorMsg >AssertionError: > >Input: ><!DOCTYPE <!DOCTYPE HTML>><!--<!--x-->--> > >Expected: >| <!DOCTYPE <!doctype> >| <html> >| <head> >| <body> >| ">" >| <!-- <!--x --> >| "-->" > >Traceback: >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/tests/test_parser.py", line 39, in runParserTest > document = p.parse(input) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 236, in parse > parseMeta=parseMeta, useChardet=useChardet) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 94, in _parse > self.mainLoop() > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 203, in mainLoop > new_token = phase.processComment(new_token) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 468, in processComment > self.tree.insertComment(token, self.tree.openElements[-1]) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/etree_lxml.py", line 312, in insertCommentMain > super(TreeBuilder, self).insertComment(data, parent) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/_base.py", line 262, in insertComment > parent.appendChild(self.commentClass(token["data"])) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/etree.py", line 148, in __init__ > self._element = ElementTree.Comment(data) > File "src/lxml/lxml.etree.pyx", line 3017, in lxml.etree.Comment (src/lxml/lxml.etree.c:80806) >ValueError: Comment may not contain '--' or end with '-' > > >====================================================================== >FAIL: html5lib.tests.test_parser.test_parser(None, u'<!DOCTYPE <!DOCTYPE HTML>><!--<!--x-->-->', u'| <!DOCTYPE <!doctype>\n| <html>\n| <head>\n| <body>\n| ">"\n| <!-- <!--x -->\n| "-->"', [u"Line: 1 Col: 20 Expected space or '>'. Got ''", u'Line: 1 Col: 25 Erroneous DOCTYPE.', u'Line: 1 Col: 35 Unexpected character in comment found.'], <class 'html5lib.treebuilders.etree_lxml.TreeBuilder'>, False) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/usr/lib64/python2.7/site-packages/nose/case.py", line 197, in runTest > self.test(*self.arg) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/tests/test_parser.py", line 43, in runParserTest > assert False, errorMsg >AssertionError: > >Input: ><!DOCTYPE <!DOCTYPE HTML>><!--<!--x-->--> > >Expected: >| <!DOCTYPE <!doctype> >| <html> >| <head> >| <body> >| ">" >| <!-- <!--x --> >| "-->" > >Traceback: >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/tests/test_parser.py", line 39, in runParserTest > document = p.parse(input) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 236, in parse > parseMeta=parseMeta, useChardet=useChardet) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 94, in _parse > self.mainLoop() > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 203, in mainLoop > new_token = phase.processComment(new_token) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/html5parser.py", line 468, in processComment > self.tree.insertComment(token, self.tree.openElements[-1]) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/etree_lxml.py", line 312, in insertCommentMain > super(TreeBuilder, self).insertComment(data, parent) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/_base.py", line 262, in insertComment > parent.appendChild(self.commentClass(token["data"])) > File "/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999/html5lib/treebuilders/etree.py", line 148, in __init__ > self._element = ElementTree.Comment(data) > File "src/lxml/lxml.etree.pyx", line 3017, in lxml.etree.Comment (src/lxml/lxml.etree.c:80806) >ValueError: Comment may not contain '--' or end with '-' > > >---------------------------------------------------------------------- >Ran 25616 tests in 52.060s > >FAILED (errors=10, failures=22) > [31;01m*[0m ERROR: dev-python/html5lib-0.9999999::gentoo failed (test phase): > [31;01m*[0m Tests fail with python2.7 > [31;01m*[0m > [31;01m*[0m Call stack: > [31;01m*[0m ebuild.sh, line 133: Called src_test > [31;01m*[0m environment, line 3566: Called distutils-r1_src_test > [31;01m*[0m environment, line 929: Called _distutils-r1_run_foreach_impl 'python_test' > [31;01m*[0m environment, line 283: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 3090: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 2199: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 2197: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 554: Called distutils-r1_run_phase 'python_test' > [31;01m*[0m environment, line 862: Called python_test > [31;01m*[0m environment, line 3445: Called die > [31;01m*[0m The specific snippet of code: > [31;01m*[0m nosetests || die "Tests fail with ${EPYTHON}" > [31;01m*[0m > [31;01m*[0m If you need support, post the output of `emerge --info '=dev-python/html5lib-0.9999999::gentoo'`, > [31;01m*[0m the complete build log and the output of `emerge -pqv '=dev-python/html5lib-0.9999999::gentoo'`. > [31;01m*[0m The complete build log is located at '/var/tmp/portage/dev-python/html5lib-0.9999999/temp/build.log'. > [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/dev-python/html5lib-0.9999999/temp/environment'. > [31;01m*[0m Working directory: '/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999' > [31;01m*[0m S: '/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 571644
: 422652