* Package: dev-python/html5lib-0.9999999  * Repository: gentoo  * Maintainer: python@gentoo.org  * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_4 test userland_GNU  * FEATURES: 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 ... * 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. * 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 * 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'
helloexcite!me!', u'| \n| \n| \n| \n| \n|
\n| "helloexcite!"\n| \n| "me!"\n|
please!
\n| \n| \n|
\n| \n| "please!"\n| ', [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': , u'builder': }) ---------------------------------------------------------------------- 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'', u'| \n| \n| \n| ', [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': , u'builder': }) ---------------------------------------------------------------------- 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'', u'| \n| \n| \n| ', [u"Line: 1 Col: 2 Expected '--' or 'DOCTYPE'. Not found.", u'Line: 1 Col: 12 Unexpected End of file. Expected DOCTYPE.'], {u'walker': , u'builder': }) ---------------------------------------------------------------------- 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'', u'| \n| \n| \n| ', [u"Line: 1 Col: 2 Expected closing tag. Unexpected character ' ' found.", u'Line: 1 Col: 14 Unexpected End of file. Expected DOCTYPE.'], {u'walker': , u'builder': }) ---------------------------------------------------------------------- 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'', u'| \n| \n| \n| ', [u''], {u'walker': , u'builder': }) ---------------------------------------------------------------------- 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', [u''], {u'walker': , u'builder': }) ---------------------------------------------------------------------- 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'FOOBAZ', u'| \n| \n| \n| "FOO"\n| \n| "BAZ"', [u''], {u'walker': , u'builder': }) ---------------------------------------------------------------------- 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'FOOBAZ', u'| \n| \n| \n| "FOO"\n| \n| "BAZ"', [u''], {u'walker': , u'builder': }) ---------------------------------------------------------------------- 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', [u''], {u'walker': , u'builder': }) ---------------------------------------------------------------------- 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'FOOBAZ', u'| \n| \n| \n| "FOO"\n| \n| "BAZ"', [u''], {u'walker': , u'builder': }) ---------------------------------------------------------------------- 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'
helloexcite!me!', u'| \n| \n| \n| \n| \n|
\n| "helloexcite!"\n| \n| "me!"\n|
please!
\n| \n| \n|
\n| \n| "please!"\n| ', [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.'], , 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:
helloexcite!me! Expected: | | | | | |
| "helloexcite!" | | "me!" |
please!
| | |
| | "please!" | 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'
helloexcite!me!', u'| \n| \n| \n| \n| \n|
\n| "helloexcite!"\n| \n| "me!"\n|
please!
\n| \n| \n|
\n| \n| "please!"\n| ', [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.'], , 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:
helloexcite!me! Expected: | | | | | |
| "helloexcite!" | | "me!" |
please!
| | |
| | "please!" | 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'', u'| \n| \n| \n| ', [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.'], , 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: Expected: | | | | 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'', u'| \n| \n| \n| ', [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.'], , 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: Expected: | | | | 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'', u'| \n| \n| \n| ', [u"Line: 1 Col: 2 Expected '--' or 'DOCTYPE'. Not found.", u'Line: 1 Col: 12 Unexpected End of file. Expected DOCTYPE.'], , 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: Expected: | | | | 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'', u'| \n| \n| \n| ', [u"Line: 1 Col: 2 Expected '--' or 'DOCTYPE'. Not found.", u'Line: 1 Col: 12 Unexpected End of file. Expected DOCTYPE.'], , 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: Expected: | | | | 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'', u'| \n| \n| \n| ', [u"Line: 1 Col: 2 Expected closing tag. Unexpected character ' ' found.", u'Line: 1 Col: 14 Unexpected End of file. Expected DOCTYPE.'], , 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: Expected: | | | | 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'', u'| \n| \n| \n| ', [u"Line: 1 Col: 2 Expected closing tag. Unexpected character ' ' found.", u'Line: 1 Col: 14 Unexpected End of file. Expected DOCTYPE.'], , 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: Expected: | | | | 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'', u'| \n| \n| \n| ', u'', , 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: Expected: | | | | 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'', u'| \n| \n| \n| ', u'', , 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: Expected: | | | | 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', u'', , 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 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', u'', , 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 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'FOOBAZ', u'| \n| \n| \n| "FOO"\n| \n| "BAZ"', u'', , 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: FOOBAZ Expected: | | | | "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'FOOBAZ', u'| \n| \n| \n| "FOO"\n| \n| "BAZ"', u'', , 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: FOOBAZ Expected: | | | | "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'FOOBAZ', u'| \n| \n| \n| "FOO"\n| \n| "BAZ"', u'', , 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: FOOBAZ Expected: | | | | "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'FOOBAZ', u'| \n| \n| \n| "FOO"\n| \n| "BAZ"', u'', , 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: FOOBAZ Expected: | | | | "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', u'', , 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 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', u'', , 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 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'FOOBAZ', u'| \n| \n| \n| "FOO"\n| \n| "BAZ"', u'', , 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: FOOBAZ Expected: | | | | "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'FOOBAZ', u'| \n| \n| \n| "FOO"\n| \n| "BAZ"', u'', , 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: FOOBAZ Expected: | | | | "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'>-->', u'| \n| \n| \n| \n| ">"\n| \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.'], , 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: >--> Expected: | | | | | ">" | | "-->" 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'>-->', u'| \n| \n| \n| \n| ">"\n| \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.'], , 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: >--> Expected: | | | | | ">" | | "-->" 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) * ERROR: dev-python/html5lib-0.9999999::gentoo failed (test phase): * Tests fail with python2.7 * * Call stack: * ebuild.sh, line 133: Called src_test * environment, line 3566: Called distutils-r1_src_test * environment, line 929: Called _distutils-r1_run_foreach_impl 'python_test' * environment, line 283: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' * environment, line 3090: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2199: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2197: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' * environment, line 554: Called distutils-r1_run_phase 'python_test' * environment, line 862: Called python_test * environment, line 3445: Called die * The specific snippet of code: * nosetests || die "Tests fail with ${EPYTHON}" * * If you need support, post the output of `emerge --info '=dev-python/html5lib-0.9999999::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/html5lib-0.9999999::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-python/html5lib-0.9999999/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/html5lib-0.9999999/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999' * S: '/var/tmp/portage/dev-python/html5lib-0.9999999/work/html5lib-0.9999999'