summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonard Richardson <leonardr@segfault.org>2016-07-26 21:25:00 -0400
committerLeonard Richardson <leonardr@segfault.org>2016-07-26 21:25:00 -0400
commit28098ad3845795283b9c1314228f5f8af4377dee (patch)
tree7457022d7ac9714a0fd59746dae25cebd241369e
parent7d913f2af7fa7565ea5e8cb42a183085b5397db3 (diff)
parent044eed927b404f60d828eb6b6ee28a242af6427d (diff)
downloadbeautifulsoup4-28098ad3845795283b9c1314228f5f8af4377dee.tar.gz
Renamed deprecated method. Contributed by Ville Skyttä.
-rw-r--r--bs4/tests/test_soup.py2
1 files changed, 1 insertions, 1 deletions
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("<a><b></b></a>", "html.parser")
- self.assertEquals([], w)
+ self.assertEqual([], w)
def test_parseOnlyThese_renamed_to_parse_only(self):
with warnings.catch_warnings(record=True) as w: