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.

Title: Python 3.1.1 test_cmd_line fails on Fedora 11
Type: behavior Stage:
Components: Tests Versions: Python 3.1
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: Pif, amaury.forgeotdarc, ezio.melotti, vstinner
Priority: normal Keywords:

Created on 2009-08-21 10:11 by Pif, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (5)
msg91813 - (view) Author: Guillaume Delcourt-Petetin (Pif) Date: 2009-08-21 10:11
Just what it says on the label :

Traceback (most recent call last):
  File "./Lib/test/", line 618, in runtest_inner
    raise TestFailed(err) Traceback (most recent call last):
    self.assertTrue(path1.encode('ascii') in stdout)
AssertionError: False is not True

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "./Lib/test/", line 1222, in <module>
  File "./Lib/test/", line 425, in main
    testdir, huntrleaks)
  File "./Lib/test/", line 584, in runtest
    testdir, huntrleaks)
  File "./Lib/test/", line 638, in runtest_inner
    print("test", test, "failed --", msg)
UnicodeEncodeError: 'ascii' codec can't encode character '\xe9' in
position 54: ordinal not in range(128)
test test_cmd_line failed -- make: *** [test] Erreur 1


In my search for similar bugs, I only found a mac OSX/Python 3.0 issue
msg91827 - (view) Author: Amaury Forgeot d'Arc (amaury.forgeotdarc) * (Python committer) Date: 2009-08-21 13:46
Does it happen if you build python from a directory with no accented
msg91828 - (view) Author: Guillaume Delcourt-Petetin (Pif) Date: 2009-08-21 14:10

2009/8/21 Amaury Forgeot d'Arc <>

> Amaury Forgeot d'Arc <> added the comment:
> Does it happen if you build python from a directory with no accented
> letters?
> ----------
> nosy: +amaury.forgeotdarc
> _______________________________________
> Python tracker <>
> <>
> _______________________________________
msg148541 - (view) Author: Ezio Melotti (ezio.melotti) * (Python committer) Date: 2011-11-29 06:33
Is this still an issue?
msg148560 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2011-11-29 13:14
A lot of bugs related to encodings has been fixed. The bug was seen on Python 3.1, whereas the current development version is 3.3. We have a Fedora buildbot and many Fedora users, none reported such error recently. I consider this issue as fixed.
Date User Action Args
2022-04-11 14:56:52adminsetgithub: 51002
2011-11-29 13:14:08vstinnersetstatus: open -> closed
resolution: fixed
messages: + msg148560
2011-11-29 13:12:30eric.araujosetfiles: - unnamed
2011-11-29 06:33:51ezio.melottisetnosy: + ezio.melotti
messages: + msg148541
2010-08-01 00:15:13eric.araujosetnosy: + vstinner
2009-08-21 14:10:23Pifsetfiles: + unnamed

messages: + msg91828
2009-08-21 13:46:54amaury.forgeotdarcsetnosy: + amaury.forgeotdarc
messages: + msg91827
2009-08-21 10:11:10Pifcreate