From 9f370bad91d80570a57156f53c6a9efc918ff90f Mon Sep 17 00:00:00 2001 From: Leonard Richardson Date: Mon, 20 May 2013 09:40:13 -0400 Subject: html5lib now supports Python 3. Fixed some Python 2-specific code in the html5lib test suite. [bug=1181624] --- bs4/tests/test_html5lib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bs4/tests/test_html5lib.py') 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): ''' soup = self.soup(markup) # Verify that we can reach the

tag; this means the tree is connected. - self.assertEquals("

foo

", soup.p.encode()) + self.assertEqual(b"

foo

", soup.p.encode()) -- cgit v1.2.3