Skip to content

Commit f1ccdf6

Browse files
committed
specify parser for BeautifulSoup
closes #75
1 parent b9d0773 commit f1ccdf6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_autodocsumm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def get_html(app, fname):
4141

4242

4343
def in_autosummary(what, html) -> bool:
44-
soup = bs4.BeautifulSoup(html)
44+
soup = bs4.BeautifulSoup(html, "html.parser")
4545
autosummaries = soup("table")
4646
found = False
4747
for tag in autosummaries:

0 commit comments

Comments
 (0)