Skip to content

Commit 2839945

Browse files
authored
Merge pull request #76 from Chilipp/fix-75
specify parser for BeautifulSoup
2 parents b9d0773 + f1ccdf6 commit 2839945

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_autodocsumm.py

+1-1
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)