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 serhiy.storchaka
Recipients serhiy.storchaka
Date 2020-06-25.11:16:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1593083807.4.0.45792432465.issue41113@roundup.psfhosted.org>
In-reply-to
Content
$ LC_ALL=uk_UA.koi8u ./python -m test -v -m test_nonascii test_warnings
...
======================================================================
ERROR: test_nonascii (test.test_warnings.CEnvironmentVariableTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/serhiy/py/cpython/Lib/test/test_warnings/__init__.py", line 1201, in test_nonascii
    rc, stdout, stderr = assert_python_ok("-c",
  File "/home/serhiy/py/cpython/Lib/test/support/script_helper.py", line 156, in assert_python_ok
    return _assert_python(True, *args, **env_vars)
  File "/home/serhiy/py/cpython/Lib/test/support/script_helper.py", line 140, in _assert_python
    res, cmd_line = run_python_until_end(*args, **env_vars)
  File "/home/serhiy/py/cpython/Lib/test/support/script_helper.py", line 127, in run_python_until_end
    proc = subprocess.Popen(cmd_line, stdin=subprocess.PIPE,
  File "/home/serhiy/py/cpython/Lib/subprocess.py", line 947, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/home/serhiy/py/cpython/Lib/subprocess.py", line 1739, in _execute_child
    env_list.append(k + b'=' + os.fsencode(v))
  File "/home/serhiy/py/cpython/Lib/os.py", line 812, in fsencode
    return filename.encode(encoding, errors)
  File "/home/serhiy/py/cpython/Lib/encodings/koi8_u.py", line 12, in encode
    return codecs.charmap_encode(input,errors,encoding_table)
UnicodeEncodeError: 'charmap' codec can't encode character '\xf3' in position 16: character maps to <undefined>
History
Date User Action Args
2020-06-25 11:16:47serhiy.storchakasetrecipients: + serhiy.storchaka
2020-06-25 11:16:47serhiy.storchakasetmessageid: <1593083807.4.0.45792432465.issue41113@roundup.psfhosted.org>
2020-06-25 11:16:47serhiy.storchakalinkissue41113 messages
2020-06-25 11:16:47serhiy.storchakacreate