From 60f35b0af5db87c6c0ee361ea707a7773807fc9f Mon Sep 17 00:00:00 2001 From: Venelin Stoykov Date: Fri, 12 Oct 2018 23:08:20 +0300 Subject: [PATCH] Pass features to BeautifulSoup constructor This will remove a warning durring tests --- tests/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/utils.py b/tests/utils.py index 8b16a09..314daed 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -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):