TypeError: Utf16LittleEndianDecode() and Utf16BeDecode takes at most 1 argument (3 given)
Traceback (most recent call last):
File "test\test_codecs.py", line 314, in test_errors
self.assertRaises(UnicodeDecodeError, codecs.utf_16_le_decode, "\xff", "stri
ct", True)
TypeError: Utf16LittleEndianDecode() takes at most 1 argument (3 given)
Traceback (most recent call last):
File "test\test_codecs.py", line 335, in test_errors
self.assertRaises(UnicodeDecodeError, codecs.utf_16_be_decode, "\xff", "stri
ct", True)
TypeError: Utf16BeDecode() takes at most 1 argument (3 given)
Work Item Details
Original CodePlex Issue: Issue 23750 Status: Active Reason Closed: Unassigned Assigned to: Unassigned Reported on: Jul 27, 2009 at 11:47 PM Reported by: dfugate Updated on: Feb 22, 2013 at 2:12 AM Updated by: jdhardy Custom value: Reported internally at Microsoft. Test: test_codecs.py CreatedDate: 9/24/2007 NewInternalID: 409542 OldInternalID: 305717 AreaPath: IronPython\Python25
On 2009-10-22 05:31:22 UTC, dfugate commented:
Regressions in test_codecs.py weren't re-enabled and they're not fixed: FAIL: test_errors (main.UTF16LETest) Traceback (most recent call last): File "test\test_codecs.py", line 474, in test_errors self.assertRaises(UnicodeDecodeError, codecs.utf_16_le_decode, "\xff", "strict", True) AssertionError: UnicodeDecodeError not raised FAIL: test_errors (main.UTF16BETest) Traceback (most recent call last): File "test\test_codecs.py", line 495, in test_errors self.assertRaises(UnicodeDecodeError, codecs.utf_16_be_decode, "\xff", "strict", True) AssertionError: UnicodeDecodeError not raised