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_unicode fails 2.4a1
Type: Stage:
Components: Build Versions: Python 2.4
process
Status: closed Resolution: duplicate
Dependencies: Superseder:
Assigned To: Nosy List: dharma_roadkill, irmen, loewis
Priority: normal Keywords:

Created on 2004-07-16 02:23 by dharma_roadkill, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (3)
msg21658 - (view) Author: roadkill (dharma_roadkill) Date: 2004-07-16 02:23
uname -a
OSF1 pikachu.****.com V5.1 2650 alpha
(HP alpha box running Tru64 V5.1B)

Python 2.4a1

make test:
test test_unicode failed -- Traceback (most recent call 
last):
  File "/u13/home/doug/python/Python-
2.4a1/Lib/test/test_unicode.py", line 358,
in test_formatting
    
string_tests.MixinStrUnicodeUserStringTest.test_formatti
ng(self)
  File "/u13/home/doug/python/Python-
2.4a1/Lib/test/string_tests.py", line 615,
in test_formatting
    self.checkequal('0042.00', '%07.2f', '__mod__', 42)
  File "/u13/home/doug/python/Python-
2.4a1/Lib/test/string_tests.py", line 56, i
n checkequal
    realresult
AssertionError: u'0042.00' != u'0042,00'

no fancy env or locale variables set

note: test_format also fails in make test.

msg21659 - (view) Author: Irmen de Jong (irmen) (Python triager) Date: 2004-07-16 19:21
Logged In: YES 
user_id=129426

I can confirm this.
It is caused by test__locale that is executed before this
test. This also causes test_format to fail.
Additional details in my comment on the test_format
bugreport #992078 
msg21660 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2004-07-16 22:19
Logged In: YES 
user_id=21627

Closed as a duplicate of 992078.
History
Date User Action Args
2022-04-11 14:56:05adminsetgithub: 40581
2004-07-16 02:23:12dharma_roadkillcreate