zope.testing fails miserably on unicode
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope 3 |
Won't Fix
|
Undecided
|
Unassigned | ||
zope.testing |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Some doctest output can esily become unicode.
Running:
.../browser/
if got == want:
/home/adi/
if got == want:
/home/adi/
if got == want:
Error in test .../browser/
Traceback (most recent call last):
File "/usr/local/
testMethod()
File "/home/
test, out=write, clear_globs=False)
File "/home/
return self.__run(test, compileflags, out)
File "/home/
if check(example.want, got, self.optionflags):
File "/home/
if _ellipsis_
File "/home/
if got.startswith(w):
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 5690: ordinal not in range(128)
Changed in zope3: | |
status: | New → Won't Fix |
tags: | added: bugday20100424 |
Can you please provide a sample doctest fragment which provokes the bug? We have some tests in place on the trunkwhich attempt to verify that the behavior is correct.