This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: test_normalization fails
Type: Stage:
Components: Unicode Versions: Python 2.3
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: loewis Nosy List: loewis, thelinuxduck
Priority: normal Keywords:

Created on 2003-07-31 19:43 by thelinuxduck, last changed 2022-04-10 16:10 by admin. This issue is now closed.

Messages (4)
msg17553 - (view) Author: The LinuxDuck (thelinuxduck) Date: 2003-07-31 19:43
I d/l the NormalizationTest.txt from unicode.org, as suggested, 
then run the test as:
-----------------------------------
/source/Python-build> ./python 
../Python-2.3/Lib/test/regrtest.py -g 
test_normalization.py
test_normalization
test 
test_normalization failed -- 03F9;03F9;03F9;03A3;03A3;
1 
test failed:
    test_normalization
-----------------------------------
  If I comment out that 
line in the file, it fails further down:
-----------------------------------

test_normalization
test test_normalization failed -- 
1D2C;1D2C;1D2C;0041;0041;
1 test failed:
    
test_normalization
-----------------------------------
GNU C Library stable release version 
2.1.3, by Roland McGrath et al.
Compiled by GNU CC version 
egcs-2.91.66 19990314/Linux (egcs-1.1.2 release).
Compiled 
on a Linux 2.2.14 system on 2000-03-20.
Available 
extensions:
        GNU libio by Per Bothner
        linuxthreads-0.8 by 
Xavier Leroy
        BIND-4.9.7-REL
        libthread_db work sponsored 
by Alpha Processor Inc
        NIS(YP)/NIS+ NSS modules 0.19 by 
Thorsten Kukuk
Linux www 2.2.16 #22 Fri Jun 16 16:51:24 PDT 
2000 i586 unknown unknown GNU/Linux

  This is a slack 8.1 
box, running gcc 3.0.2.

Python version 2.3
msg17554 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2003-08-01 07:03
Logged In: YES 
user_id=21627

Can you tell what version of NormalizationTest.txt you use?
Python's module is for Unicode 3.2.
msg17555 - (view) Author: The LinuxDuck (thelinuxduck) Date: 2003-08-01 18:58
Logged In: YES 
user_id=490655

Doh!  Guess I should have known that there would be different versions.  
Looks like I've got version 4.00.  For anyone else having this issue, the 
corrent d/l location of the NormalizationTest.txt version 3.2 is 
http://www.unicode.org/Public/3.2-Update/NormalizationTest-
3.2.0.txt.  The link provided in the tests will direct you to 4.0.  Note: I have 
not yet recompiled with 3.2.
msg17556 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2003-08-05 06:01
Logged In: YES 
user_id=21627

At the time the test was written, Unicode 3.2 was current,
so the URL was correct then. I have now updated the URL in
test_normalization.py 1.8 and 1.7.8.1.
History
Date User Action Args
2022-04-10 16:10:26adminsetgithub: 38989
2003-07-31 19:43:32thelinuxduckcreate