diff options
author | Florian Bruhin <me@the-compiler.org> | 2022-04-11 10:29:44 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2022-04-11 10:29:44 +0200 |
commit | 3e9203b82902310e1f1f144291af61d93838dcee (patch) | |
tree | ae6a09e6a2c42a28bf9e749c7ded935c67921b8a | |
parent | ec49047f121d2c011b536c938af72175682a151f (diff) | |
download | qutebrowser-3e9203b82902310e1f1f144291af61d93838dcee.tar.gz qutebrowser-3e9203b82902310e1f1f144291af61d93838dcee.zip |
tests: Update bs4 argument name
-rw-r--r-- | tests/end2end/test_hints_html.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/end2end/test_hints_html.py b/tests/end2end/test_hints_html.py index f1cda97fe..5af09649f 100644 --- a/tests/end2end/test_hints_html.py +++ b/tests/end2end/test_hints_html.py @@ -59,7 +59,7 @@ def _parse_file(test_name): with file_path.open('r', encoding='utf-8') as html: soup = bs4.BeautifulSoup(html, 'html.parser') - comment = str(soup.find(text=lambda text: isinstance(text, bs4.Comment))) + comment = str(soup.find(string=lambda text: isinstance(text, bs4.Comment))) if comment is None: raise InvalidFile(test_name, "no comment found") |