summaryrefslogtreecommitdiff
path: root/bs4/tests/test_soup.py
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2016-07-26 19:59:04 +0300
committerVille Skyttä <ville.skytta@iki.fi>2016-07-26 19:59:04 +0300
commit54f214be4092ff95a370aafe469b925c1cdeffb2 (patch)
treee85918b7a3f6d4bcf156b2d66b15204f748fb177 /bs4/tests/test_soup.py
parentc0c4eb5d89777c922e8cfd31b2ac8f86972e1f3c (diff)
Use assertEqual instead of deprecated assertEquals
Diffstat (limited to 'bs4/tests/test_soup.py')
-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: