[Python-bugs-list] [ python-Bugs-608884 ] unicode test fails w/ucs4

noreply@sourceforge.net noreply@sourceforge.net
Sat, 14 Sep 2002 02:10:38 -0700


Bugs item #608884, was opened at 2002-09-13 15:50
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=608884&group_id=5470

Category: Unicode
Group: Python 2.3
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Neal Norwitz (nnorwitz)
Assigned to: M.-A. Lemburg (lemburg)
Summary: unicode test fails w/ucs4

Initial Comment:
When --enable-unicode=ucs4 is used, test_unicode fails
on line 464:
  for ordinal in (-100, 0x20000):
since 0x20000 returns a valid unicode character.

Is the test invalid or is the code wrong?

----------------------------------------------------------------------

>Comment By: Martin v. Löwis (loewis)
Date: 2002-09-14 11:10

Message:
Logged In: YES 
user_id=21627

The test is wrong, it should be 0x200000. Fixed in
test_unicode 1.70.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=608884&group_id=5470