Self test fails with UnicodeDecodeError
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Python HTML Sanitizer |
New
|
Undecided
|
Unassigned |
Bug Description
After fixing some other self tests by applying patches from open bug reports,
one test is still failing for me:
$ python HtmlSanitizer.py
*******
File "HtmlSanitizer.py", line 167, in __main_
Failed example:
c.string
Exception raised:
Traceback (most recent call last):
File "doctest.py", line 1212, in __run
File "<doctest __main_
c.string
File "HtmlSanitizer.py", line 178, in get_string
return unicode(
UnicodeDeco
*******
1 items had failures:
1 of 6 in __main_
***Test Failed*** 1 failures.