Skip to content

test_bs4_version_fails: ImportError: html5lib not found please install it #4265

Closed
@yarikoptic

Description

@yarikoptic
======================================================================
ERROR: pandas.io.tests.test_html.test_bs4_version_fails
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/case.py", line 198, in runTest
    self.test(*self.arg)
  File "/home/yoh/deb/gits/pkg-exppsy/pandas/debian/tmp/usr/lib/python3/dist-packages/pandas/io/tests/test_html.py", line 83, in test_bs4_version_fails
    flavor='bs4')
  File "/usr/lib/python3.2/unittest/case.py", line 557, in assertRaises
    callableObj(*args, **kwargs)
  File "/home/yoh/deb/gits/pkg-exppsy/pandas/debian/tmp/usr/lib/python3/dist-packages/pandas/io/html.py", line 906, in read_html
    attrs)
  File "/home/yoh/deb/gits/pkg-exppsy/pandas/debian/tmp/usr/lib/python3/dist-packages/pandas/io/html.py", line 765, in _parse
    parser = _parser_dispatch(flav)
  File "/home/yoh/deb/gits/pkg-exppsy/pandas/debian/tmp/usr/lib/python3/dist-packages/pandas/io/html.py", line 719, in _parser_dispatch
    raise ImportError("html5lib not found please install it")
ImportError: html5lib not found please install it

on 4c2d050

there is no python3-html5lib on any debian system yet

Metadata

Metadata

Assignees

No one assigned

    Labels

    Testingpandas testing functions or related to the test suite

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

        翻译: