Author jeff.allen
Recipients jeff.allen
Date 2015-04-06.19:48:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Observed on Windows 7 with Jython 2.7rc2 test.test_file2k reports one failure:

test_unicode (__main__.StdoutTests) ... 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.utf_16_le", line 16, in decode
UnicodeDecodeError: 'utf16' codec can't decode byte 0x29 in position 58: truncated data

FAIL: test_unicode (__main__.StdoutTests)
Traceback (most recent call last):
  File "C:\jython\2.7rc2\Lib\test\", line 737, in test_unicode
    check_message(u'15\u20ac', "utf-16-le", '1\x005\x00\xac\x20')
  File "C:\jython\2.7rc2\Lib\test\", line 728, in check_message
    stdout = get_message(encoding,
  File "C:\jython\2.7rc2\Lib\test\", line 724, in get_message
    self.assertEqual(process.returncode, 0)
AssertionError: -1 != 0


The message about the encoding emerges, I think, from the stderr of the subprocess, which then returns the much less useful error status that fails the test.
Date User Action Args
2015-04-06 19:48:05jeff.allensetrecipients: + jeff.allen
2015-04-06 19:48:05jeff.allensetmessageid: <>
2015-04-06 19:48:05jeff.allenlinkissue2312 messages
2015-04-06 19:48:05jeff.allencreate