scottwernervt / favicon

Find a website's favicon.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UserWarning: No parser was explicitly specified

scottwernervt opened this issue · comments

UserWarning: No parser was explicitly specified, so I'm using the best available HTML parser for this system ("html.parser"). This usually isn't a problem, but if you run this code on another system, or in a different virtual environment, it may use a different parser and behave differently.
  
  The code that caused this warning is on line 8 of the file /home/swerner/development/projects/favicon/tests/test_favicon.py. To get rid of this warning, pass the additional argument 'features="html.parser"' to the BeautifulSoup constructor.
  
    s = BeautifulSoup('')

-- Docs: https://docs.pytest.org/en/latest/warnings.html