[Python-Dev] 2.4.2c1 fails test_unicode on HP-UX ia64 (original) (raw)

Guido van Rossum guido at python.org
Tue Sep 20 18:59:11 CEST 2005


I just built and ran the latest Python 2.4.2c1 from CVS on our HP-UX Itanium 2 box. sys.maxint is 9223372036854775807 on this box.

I get the following failure from test_unicode (all other tests pass):

File "/var/tmp/guido/p4/Lib/test/test_unicode.py", line 553, in test_codecs_errors self.assertEqual(u'Andr\202 x'.encode('ascii','replace'), "Andr? x") AssertionError: 'Andr x' != 'Andr? x'

When I try it on the command line I get the same result:

Python 2.4.2c1 (#4, Sep 20 2005, 09:15:22) [C] on hp-ux11 Type "help", "copyright", "credits" or "license" for more information.

u'Andr\202 x'.encode('ascii','replace') 'Andr x'

The test passes on Linux. We have about 6 hours until code freeze...

-- --Guido van Rossum (home page: http://www.python.org/~guido/)



More information about the Python-Dev mailing list