summaryrefslogtreecommitdiff
path: root/bs4/tests/test_lxml.py
diff options
context:
space:
mode:
authorLeonard Richardson <leonard.richardson@canonical.com>2012-01-20 14:01:46 -0500
committerLeonard Richardson <leonard.richardson@canonical.com>2012-01-20 14:01:46 -0500
commit0954d5fb94b887349f754e2f5415df4a76e586b7 (patch)
tree2ade8efcc191bebb2d8097c6f45de9a864881888 /bs4/tests/test_lxml.py
parent45fd6b551dccc85f01061f26642614ceebf39843 (diff)
Actually fixed the test failure.
Diffstat (limited to 'bs4/tests/test_lxml.py')
-rw-r--r--bs4/tests/test_lxml.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bs4/tests/test_lxml.py b/bs4/tests/test_lxml.py
index 2f64d31..0eafab0 100644
--- a/bs4/tests/test_lxml.py
+++ b/bs4/tests/test_lxml.py
@@ -250,7 +250,7 @@ class TestLXMLBuilder(SoupTest):
b'\xea\x82\xcc\x83t\x83@\x83C\x83\x8b\x82\xc5\x82\xb7\x81B'
b'</pre></body></html>')
unicode_html = shift_jis_html.decode("shift-jis")
- soup = self.soup(shift_jis_html)
+ soup = self.soup(unicode_html)
# Make sure the parse tree is correctly encoded to various
# encodings.