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.

Author MrJean1
Recipients MrJean1, amaury.forgeotdarc, loewis, mark.dickinson
Date 2008-11-22.22:46:55
SpamBayes Score 0.0004542984
Marked as misclassified No
Message-id <1227394017.15.0.0381838400729.issue4388@psf.upfronthosting.co.za>
In-reply-to
Content
The test was originally run with

% echo $LANG
tcsh: LANG: Undefined variable.

The same failure occurs with LANG set to C 

% env LANG=C ../Python-3.0rc3/python.exe Lib/test/test_cmd_line.py
test_directories (__main__.CmdLineTest) ... ok
....
FAILED (failures=1)
Traceback (most recent call last):
  File "Lib/test/test_cmd_line.py", line 151, in <module>
    test_main()
  File "Lib/test/test_cmd_line.py", line 147, in test_main
    test.support.run_unittest(CmdLineTest)
  File "/Users/jean/Desktop/Python-3.0rc3/Lib/test/support.py", line 
698, in run_unittest
    _run_suite(suite)
  File "/Users/jean/Desktop/Python-3.0rc3/Lib/test/support.py", line 
681, in _run_suite
    raise TestFailed(err)
test.support.TestFailed: Traceback (most recent call last):
  File "Lib/test/test_cmd_line.py", line 143, in test_run_code
    0)
AssertionError: 1 != 0


But the test passes in both these cases:

% env LANG=en_US.UTF-8 ../Python-3.0rc3/python.exe 
Lib/test/test_cmd_line.py
Lib/test/test_cmd_line.py
....
test_run_code (__main__.CmdLineTest) ... ok
....
OK


% env LANG=en_GB.UTF-8 ../Python-3.0rc3/python.exe 
Lib/test/test_cmd_line.py
....
test_run_code (__main__.CmdLineTest) ... ok
....
OK
History
Date User Action Args
2008-11-22 22:46:57MrJean1setrecipients: + MrJean1, loewis, amaury.forgeotdarc, mark.dickinson
2008-11-22 22:46:57MrJean1setmessageid: <1227394017.15.0.0381838400729.issue4388@psf.upfronthosting.co.za>
2008-11-22 22:46:56MrJean1linkissue4388 messages
2008-11-22 22:46:55MrJean1create