[lxml-dev] Test Failures in lxml 1.3.2
Sidnei da Silva
sidnei at enfoldsystems.com
Fri Jul 13 15:52:05 CEST 2007
On 7/13/07, Stefan Behnel <stefan_ml at behnel.de> wrote:
> Thanks, the attached patch should work around it.
Nope, still fails the same way.
======================================================================
FAIL: test_module_HTML_unicode (lxml.tests.test_htmlparser.HtmlParserTestCaseBas
e)
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\Python24\lib\unittest.py", line 260, in run
testMethod()
File "C:\src\lxml-build\lxml-1.3.2\src\lxml\tests\test_htmlparser.py", line 33
, in test_module_HTML_unicode
unicode(self.uhtml_str.encode('UTF8'), 'UTF8'))
File "c:\Python24\lib\unittest.py", line 333, in failUnlessEqual
raise self.failureException, \
AssertionError: u'<html><head><title>test \xc3\x83\xc2\xa1\xef\xa3\x92</title></
head><body><h1>page \xc3\x83\xc2\xa1\xef\xa3\x92 title</h1></body></html>' != u'
<html><head><title>test \xc3\xa1\uf8d2</title></head><body><h1>page \xc3\xa1\uf8
d2 title</h1></body></html>'
--
Sidnei da Silva
Enfold Systems http://enfoldsystems.com
Fax +1 832 201 8856 Office +1 713 942 2377 Ext 214
More information about the lxml-dev
mailing list