[Python-Dev] test_ucn errors ?

Fredrik Lundh fredrik@effbot.org
Fri, 19 Jan 2001 19:19:37 +0100


> Feels to me like there's a bug in the string literal processing that
> makes *any* string literal containing \N{...} fail during code
> generation.

umm.  can anyone explain how this can happen:

python ../lib/test/regrtest.py test_ucn
test_ucn
1 test OK.

python ../lib/test/test_ucn.py
UnicodeError: Unicode-Escape decoding error: Invalid Unicode Character Name

how can a test that works under regrtest.py fail when
it's run separately?  what am I missing here?

</F>