summaryrefslogtreecommitdiff
path: root/bs4/testing.py
diff options
context:
space:
mode:
Diffstat (limited to 'bs4/testing.py')
-rw-r--r--bs4/testing.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/bs4/testing.py b/bs4/testing.py
index d7b01aa..13a7b5a 100644
--- a/bs4/testing.py
+++ b/bs4/testing.py
@@ -205,12 +205,12 @@ class HTMLTreeBuilderSmokeTest(object):
markup = b'<html xmlns="http://www.w3.org/1999/xhtml" xmlns:mathml="http://www.w3.org/1998/Math/MathML" xmlns:svg="http://www.w3.org/2000/svg"><head></head><body><mathml:msqrt>4</mathml:msqrt><b svg:fill="red"></b></body></html>'
soup = self.soup(markup)
- self.assertEquals(markup, soup.encode())
+ self.assertEqual(markup, soup.encode())
html = soup.html
- self.assertEquals('http://www.w3.org/1999/xhtml', soup.html['xmlns'])
- self.assertEquals(
+ self.assertEqual('http://www.w3.org/1999/xhtml', soup.html['xmlns'])
+ self.assertEqual(
'http://www.w3.org/1998/Math/MathML', soup.html['xmlns:mathml'])
- self.assertEquals(
+ self.assertEqual(
'http://www.w3.org/2000/svg', soup.html['xmlns:svg'])
#