summaryrefslogtreecommitdiff
path: root/bs4/tests/test_htmlparser.py
diff options
context:
space:
mode:
authorLeonard Richardson <leonard.richardson@canonical.com>2012-02-20 12:30:00 -0500
committerLeonard Richardson <leonard.richardson@canonical.com>2012-02-20 12:30:00 -0500
commit85baeb52b43c5d61dd7cc274ca9c31972ae88bfc (patch)
treee33fd95286186514739d6faa0b0ca92aa0a5a31d /bs4/tests/test_htmlparser.py
parent3cf25e3143a8765a0fd129a6ab368f617ee1653c (diff)
lxml tests are once again run and pass when lxml is installed.
Diffstat (limited to 'bs4/tests/test_htmlparser.py')
-rw-r--r--bs4/tests/test_htmlparser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bs4/tests/test_htmlparser.py b/bs4/tests/test_htmlparser.py
index 2eec428..474e92a 100644
--- a/bs4/tests/test_htmlparser.py
+++ b/bs4/tests/test_htmlparser.py
@@ -40,7 +40,7 @@ class TestHTMLParserTreeBuilder(SoupTest):
def test_hex_entities_in_text(self):
# XXX This tests a workaround for a bug in HTMLParser.
- self.assertSoupEquals("&#xf1;", u"\xf1")
+ self.assertSoupEquals("<p>&#xf1;</p>", u"<p>\xf1</p>")
def test_entities_in_attribute_values_converted_during_parsing(self):