summaryrefslogtreecommitdiff
path: root/bs4/testing.py
diff options
context:
space:
mode:
authorLeonard Richardson <leonard.richardson@canonical.com>2012-01-20 14:22:42 -0500
committerLeonard Richardson <leonard.richardson@canonical.com>2012-01-20 14:22:42 -0500
commitdf26dc64d868875d7cd8ca550f1a174d68dd7c67 (patch)
treed843b35d5d06ee78c2e46016610ac4153994606e /bs4/testing.py
parent0954d5fb94b887349f754e2f5415df4a76e586b7 (diff)
Replaced assertEquals with assertEqual to get rid of deprecation notice.
Diffstat (limited to 'bs4/testing.py')
-rw-r--r--bs4/testing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bs4/testing.py b/bs4/testing.py
index 91c623a..c374a29 100644
--- a/bs4/testing.py
+++ b/bs4/testing.py
@@ -30,4 +30,4 @@ class SoupTest(unittest.TestCase):
if compare_parsed_to is None:
compare_parsed_to = to_parse
- self.assertEquals(obj.decode(), self.document_for(compare_parsed_to))
+ self.assertEqual(obj.decode(), self.document_for(compare_parsed_to))