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_cmd_line_script failures
Type: behavior Stage: resolved
Components: Tests Versions: Python 3.3, Python 3.4
process
Status: closed Resolution: duplicate
Dependencies: Superseder: Python launcher does not support unicode characters
View: 16218
Assigned To: Nosy List: skrah
Priority: normal Keywords: buildbot

Created on 2012-11-02 13:45 by skrah, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (1)
msg174511 - (view) Author: Stefan Krah (skrah) * (Python committer) Date: 2012-11-02 13:45
test_cmd_line_script is failing on multiple buildbots:


======================================================================
FAIL: test_non_utf8 (test.test_cmd_line_script.CmdLineTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/home/buildbot/buildarea/3.3.krah-freebsd/build/Lib/test/test_cmd_line_script.py", line 373, in test_non_utf8
    importlib.machinery.SourceFileLoader)
  File "/usr/home/buildbot/buildarea/3.3.krah-freebsd/build/Lib/test/test_cmd_line_script.py", line 126, in _check_script
    rc, out, err = assert_python_ok(*run_args)
  File "/usr/home/buildbot/buildarea/3.3.krah-freebsd/build/Lib/test/script_helper.py", line 54, in assert_python_ok
    return _assert_python(True, *args, **env_vars)
  File "/usr/home/buildbot/buildarea/3.3.krah-freebsd/build/Lib/test/script_helper.py", line 46, in _assert_python
    "stderr follows:\n%s" % (rc, err.decode('ascii', 'ignore')))
AssertionError: Process return code is 1, stderr follows:
UnicodeEncodeError: 'ascii' codec can't encode characters in position 15-20: ordinal not in range(128)

----------------------------------------------------------------------
Ran 23 tests in 4.646s
History
Date User Action Args
2022-04-11 14:57:37adminsetgithub: 60591
2012-11-02 14:35:19skrahsetstatus: open -> closed
superseder: Python launcher does not support unicode characters
resolution: duplicate
stage: needs patch -> resolved
2012-11-02 13:45:20skrahcreate