diff options
author | Leonard Richardson <leonardr@segfault.org> | 2013-05-20 09:40:13 -0400 |
---|---|---|
committer | Leonard Richardson <leonardr@segfault.org> | 2013-05-20 09:40:13 -0400 |
commit | 9f370bad91d80570a57156f53c6a9efc918ff90f (patch) | |
tree | 0484f795e984ef8a19cb88c772fee1d2f30f94ef /bs4/tests/test_html5lib.py | |
parent | dae9722244850754533647c77f418f626ba05124 (diff) |
html5lib now supports Python 3. Fixed some Python 2-specific
code in the html5lib test suite. [bug=1181624]
Diffstat (limited to 'bs4/tests/test_html5lib.py')
-rw-r--r-- | bs4/tests/test_html5lib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bs4/tests/test_html5lib.py b/bs4/tests/test_html5lib.py index 0e1c1d8..2a3b41e 100644 --- a/bs4/tests/test_html5lib.py +++ b/bs4/tests/test_html5lib.py @@ -69,4 +69,4 @@ class HTML5LibBuilderSmokeTest(SoupTest, HTML5TreeBuilderSmokeTest): </html>''' soup = self.soup(markup) # Verify that we can reach the <p> tag; this means the tree is connected. - self.assertEquals("<p>foo</p>", soup.p.encode()) + self.assertEqual(b"<p>foo</p>", soup.p.encode()) |