Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment:
This has nothing to do with doctest. Starting with your script, I get:
>>> a = f()
>>> b = repr(a)
Traceback (most recent call last):
File "", line 1, in
UnicodeEncodeError: 'ascii' codec can't encode character u'\u0105' in
position
Piotr Wysocki <[EMAIL PROTECTED]> added the comment:
I am attaching the output of doctest_problem.py on Python 2.5.2
in case it is necessary.
At the moment I haven't a clue where to look for a bug. Anybody? ;)
--
components: +Tests, Unicode
Added file: http://bugs.python.org/file11003/d
Piotr Wysocki <[EMAIL PROTECTED]> added the comment:
As I would like to use '...' in order not to care about some part of a
unicode string containing unicode literals (using ELLIPSIS).
The unicode string is inside the value of a dict returned by a function.
It is working on Python 2.4.4 and not
New submission from Piotr Wysocki <[EMAIL PROTECTED]>:
Might be related to 2811
--
components: Library (Lib)
files: doctest_problem.py
messages: 70382
nosy: wysek
severity: normal
status: open
title: doctest unable to use '...' for unicode literals
versions: Python 2.5
Added file: http:/