mirror of
https://github.com/python/cpython.git
synced 2025-08-22 17:55:18 +00:00
#11565: Fix several typos. Patch by Piotr Kasprzyk.
This commit is contained in:
parent
e3d09ff269
commit
13925008dc
94 changed files with 126 additions and 126 deletions
|
@ -476,7 +476,7 @@ class StructTest(unittest.TestCase):
|
|||
test_string)
|
||||
|
||||
def test_unpack_with_buffer(self):
|
||||
# SF bug 1563759: struct.unpack doens't support buffer protocol objects
|
||||
# SF bug 1563759: struct.unpack doesn't support buffer protocol objects
|
||||
data1 = array.array('B', b'\x12\x34\x56\x78')
|
||||
data2 = memoryview(b'\x12\x34\x56\x78') # XXX b'......XXXX......', 6, 4
|
||||
for data in [data1, data2]:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue