Message9774
These failures in test_sys and test_sys_jy look like the same issue, being failures to encode/decode correctly in a subprocess.
> jython -m test.test_sys
...
test_ioencoding (__main__.SysModuleTest) ... Traceback (most recent call last):
File "<string>", line 352, in <module>
File "<string>", line 316, in main
File "c:\jythondev\jython27\src\shell\build\jython\out00-PYZ.pyz\encodings.cp424", line 15, in decode
UnicodeDecodeError: 'charmap' codec can't decode byte 0x70 in position 0: character maps to <undefined>
FAIL
test_original_displayhook (__main__.SysModuleTest) ... ok
test_original_excepthook (__main__.SysModuleTest) ... ok
test_recursionlimit (__main__.SysModuleTest) ... ok
======================================================================
FAIL: test_ioencoding (__main__.SysModuleTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\jython\2.7rc2\Lib\test\test_sys.py", line 265, in test_ioencoding
self.assertEqual(out, unichr(0xa2).encode("cp424"))
AssertionError: '' != 'J'
----------------------------------------------------------------------
...
> jython -m test.test_sys_jy
...
Unicode roundtrips successfully through sys.argv arguments ... FAIL
test_prompts_not_defined_if_not_interactive (__main__.InteractivePromptTest) ... ok
======================================================================
FAIL: test_unicode_argv (__main__.SysArgvTest)
Unicode roundtrips successfully through sys.argv arguments
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\jython\2.7rc2\Lib\test\test_sys_jy.py", line 255, in test_unicode_argv
self.assertEqual(p.stdout.read().decode("utf-8"), zhongwen)
AssertionError: u'??' != u'\u4e2d\u6587'
- ??
+ \u4e2d\u6587 |
|
Date |
User |
Action |
Args |
2015-04-06 20:28:46 | jeff.allen | set | messageid: <1428352126.71.0.969686843362.issue2312@psf.upfronthosting.co.za> |
2015-04-06 20:28:46 | jeff.allen | set | recipients:
+ jeff.allen |
2015-04-06 20:28:46 | jeff.allen | link | issue2312 messages |
2015-04-06 20:28:46 | jeff.allen | create | |
|