Message264705
test_sys fails on an android emulator running an x86 system image at API level 21.
...
test_implementation (test.test_sys.SysModuleTest) ... ok
test_intern (test.test_sys.SysModuleTest) ... ok
test_ioencoding (test.test_sys.SysModuleTest) ... ok
test_ioencoding_nonascii (test.test_sys.SysModuleTest) ... Traceback (most recent call last):
File "<string>", line 1, in <module>
UnicodeEncodeError: 'ascii' codec can't encode character '\xe6' in position 0: ordinal not in range(
128)
FAIL
test_is_finalizing (test.test_sys.SysModuleTest) ... ok
test_lost_displayhook (test.test_sys.SysModuleTest) ... ok
...
======================================================================
FAIL: test_c_locale_surrogateescape (test.test_sys.SysModuleTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/sdcard/org.bitbucket.pyona/lib/python3.6/test/test_sys.py", line 709, in test_c_locale_surr
ogateescape
'stdin: surrogateescape\n'
AssertionError: 'stdin: strict\nstdout: strict\nstderr: backslashreplace\n' != 'stdin: surrogateesca
pe\nstdout: surrogateescape\nstderr: backslashreplace\n'
- stdin: strict
- stdout: strict
+ stdin: surrogateescape
+ stdout: surrogateescape
stderr: backslashreplace
======================================================================
FAIL: test_ioencoding_nonascii (test.test_sys.SysModuleTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/sdcard/org.bitbucket.pyona/lib/python3.6/test/test_sys.py", line 638, in test_ioencoding_no
nascii
self.assertEqual(out, os.fsencode(test.support.FS_NONASCII))
AssertionError: b'' != b'\xc3\xa6'
----------------------------------------------------------------------
Ran 43 tests in 0.913s
FAILED (failures=2, skipped=2)
test test_sys failed
1 test failed:
test_sys
Total duration: 0:00:01 |
|
Date |
User |
Action |
Args |
2016-05-03 09:26:22 | xdegaye | set | recipients:
+ xdegaye, lemburg, loewis, Alex.Willmer |
2016-05-03 09:26:22 | xdegaye | set | messageid: <1462267582.58.0.744255750518.issue26920@psf.upfronthosting.co.za> |
2016-05-03 09:26:22 | xdegaye | link | issue26920 messages |
2016-05-03 09:26:22 | xdegaye | create | |
|