mirror of
https://github.com/python/cpython.git
synced 2025-08-27 20:25:18 +00:00
Issue #2394: implement more of the memoryview API.
This commit is contained in:
parent
4aeec04624
commit
616d28566b
4 changed files with 418 additions and 25 deletions
|
@ -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")()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue