From 044eed927b404f60d828eb6b6ee28a242af6427d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Tue, 26 Jul 2016 19:59:04 +0300 Subject: Use assertEqual instead of deprecated assertEquals --- bs4/tests/test_soup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bs4/tests/test_soup.py b/bs4/tests/test_soup.py index e1c2f3d..780d288 100644 --- a/bs4/tests/test_soup.py +++ b/bs4/tests/test_soup.py @@ -77,7 +77,7 @@ class TestWarnings(SoupTest): def test_no_warning_if_explicit_parser_specified(self): with warnings.catch_warnings(record=True) as w: soup = self.soup("", "html.parser") - self.assertEquals([], w) + self.assertEqual([], w) def test_parseOnlyThese_renamed_to_parse_only(self): with warnings.catch_warnings(record=True) as w: -- cgit v1.2.1