Pass features to BeautifulSoup constructor

This will remove a warning durring tests
This commit is contained in:
Venelin Stoykov 2018-10-12 23:08:20 +03:00
parent f3c5f7cb16
commit 60f35b0af5

View file

@ -64,7 +64,7 @@ def render_tag(ttag):
def get_html_attrs(ttag):
return BeautifulSoup(render_tag(ttag)).img.attrs
return BeautifulSoup(render_tag(ttag), features="html.parser").img.attrs
def assert_file_is_falsy(file):