[issue19637] test_subprocess.test_undecodable_env() failure on AIX

STINNER Victor report at bugs.python.org
Mon Nov 18 02:16:33 CET 2013


New submission from STINNER Victor:

To analyze the following issue, I would like to know which locale encoding is used on AIX with the C locale. Example:

$ LC_ALL=C python -c 'import locale; print(locale.getpreferredencoding(False))'
ANSI_X3.4-1968

http://buildbot.python.org/all/builders/PPC64%20AIX%203.x

======================================================================
FAIL: test_undecodable_env (test.test_subprocess.POSIXProcessTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/test/test_subprocess.py", line 1696, in test_undecodable_env
    self.assertEqual(stdout.decode('ascii'), ascii(value))
AssertionError: "'abc\\xff'" != "'abc\\udcff'"
- 'abc\xff'
?      ^
+ 'abc\udcff'
?      ^^^

----------
components: Tests
keywords: buildbot
messages: 203241
nosy: David.Edelsohn, haypo
priority: normal
severity: normal
status: open
title: test_subprocess.test_undecodable_env() failure on AIX
versions: Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19637>
_______________________________________


More information about the Python-bugs-list mailing list