From 877965b09216b2d6f9f99592d7b425c7b7a19108 Mon Sep 17 00:00:00 2001 From: Leonard Richardson Date: Sat, 14 Jul 2018 14:15:29 -0400 Subject: =?UTF-8?q?Fixed=20code=20that=20was=20causing=20deprecation=20war?= =?UTF-8?q?nings=20in=20recent=20Python=203=20=20=20versions.=20Includes?= =?UTF-8?q?=20a=20patch=20from=20Ville=20Skytt=C3=A4.=20[bug=3D1778909]=20?= =?UTF-8?q?[bug=3D1689496]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bs4/tests/test_tree.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bs4/tests/test_tree.py') diff --git a/bs4/tests/test_tree.py b/bs4/tests/test_tree.py index c0e7c40..297b4aa 100644 --- a/bs4/tests/test_tree.py +++ b/bs4/tests/test_tree.py @@ -605,7 +605,7 @@ class SiblingTest(TreeTest): ''' # 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) -- cgit v1.2.3