diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2008-08-19 22:09:34 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2008-08-19 22:09:34 (GMT) |
commit | 616d28566b6b61ec92059b0151b79bdcf487bc5a (patch) | |
tree | 817413ce2fa47d42f0279f6ccaca90b24354344f /Lib/test/test_codecs.py | |
parent | 4aeec046244fc5a069668f8b42b6ea58a988e8ff (diff) | |
download | cpython-616d28566b6b61ec92059b0151b79bdcf487bc5a.zip cpython-616d28566b6b61ec92059b0151b79bdcf487bc5a.tar.gz cpython-616d28566b6b61ec92059b0151b79bdcf487bc5a.tar.bz2 |
Issue #2394: implement more of the memoryview API.
Diffstat (limited to 'Lib/test/test_codecs.py')
-rw-r--r-- | Lib/test/test_codecs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_codecs.py b/Lib/test/test_codecs.py index a7da809..e485fdd 100644 --- a/Lib/test/test_codecs.py +++ b/Lib/test/test_codecs.py @@ -621,7 +621,7 @@ class UTF8SigTest(ReadTest): def test_bug1601501(self): # SF bug #1601501: check that the codec works with a buffer - str(b"\xef\xbb\xbf", "utf-8-sig") + self.assertEquals(str(b"\xef\xbb\xbf", "utf-8-sig"), "") def test_bom(self): d = codecs.getincrementaldecoder("utf-8-sig")() |