Message ID | 7efed7bc09c56e41d3074a26388581a62f145625.1709071317.git.steve@sakoman.com |
---|---|
State | Accepted, archived |
Commit | 7efed7bc09c56e41d3074a26388581a62f145625 |
Headers | show |
Series | [kirkstone,2.0,1/6] codeparser: replace deprecated ast.Str and 's' | expand |
diff --git a/lib/bs4/tests/test_tree.py b/lib/bs4/tests/test_tree.py index 8e5c66426..cf0f1abe0 100644 --- a/lib/bs4/tests/test_tree.py +++ b/lib/bs4/tests/test_tree.py @@ -585,7 +585,7 @@ class SiblingTest(TreeTest): </html>''' # All that whitespace looks good but makes the tests more # difficult. Get rid of it. - markup = re.compile("\n\s*").sub("", markup) + markup = re.compile(r"\n\s*").sub("", markup) self.tree = self.soup(markup)