[Python-Dev] test_ucn errors ?

Tim Peters tim.one@home.com
Fri, 19 Jan 2001 14:18:04 -0500


[/F]
> umm.  can anyone explain how this can happen:
>
> python ../lib/test/regrtest.py test_ucn
> test_ucn
> 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?

Dunno, but add to the pile of mysteries that you're unique.  Here on
Win98SE:

python ../lib/test/regrtest.py test_ucn
test_ucn
test test_ucn crashed -- exceptions.UnicodeError: Unicode-Escape
      decoding error:
 Invalid Unicode Character Name
1 test failed: test_ucn


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


I suggest you reformat your hard drive, and reinstall Windows <wink>.