[New-bugs-announce] [issue26919] android: test_cmd_line fails

Xavier de Gaye report at bugs.python.org
Tue May 3 05:18:35 EDT 2016

New submission from Xavier de Gaye:

test_cmd_line fails on an android emulator running an x86 system image at API level 21.

FAIL: test_non_ascii (test.test_cmd_line.CmdLineTest)
Traceback (most recent call last):
  File "/sdcard/org.bitbucket.pyona/lib/python3.6/test/test_cmd_line.py", line 141, in test_non_ascii
    assert_python_ok('-c', command)
  File "/sdcard/org.bitbucket.pyona/lib/python3.6/test/support/script_helper.py", line 135, in assert_python_ok
    return _assert_python(True, *args, **env_vars)
  File "/sdcard/org.bitbucket.pyona/lib/python3.6/test/support/script_helper.py", line 121, in _assert_python
AssertionError: Process return code is 1
command line: ['/data/local/tmp/python/bin/python', '-X', 'faulthandler', '-I', '-c', "assert(ord('\xe6') == 230)"]



Unable to decode the command from the command line:
UnicodeEncodeError: 'utf-8' codec can't encode characters in position 12-13: surrogates not allowed

Ran 33 tests in 1.943s

FAILED (failures=1, skipped=1)
test test_cmd_line failed
1 test failed:
Total duration: 0:00:03

components: Cross-Build, Library (Lib)
messages: 264703
nosy: Alex.Willmer, xdegaye
priority: normal
severity: normal
status: open
title: android: test_cmd_line fails
type: behavior
versions: Python 3.6

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list