Mercurial > cpython-lru_cache-weakref
diff Lib/test/test_struct.py @ 68585:bf94b6a73fc8 3.1
#11565: Fix several typos. Patch by Piotr Kasprzyk.
| author | Ezio Melotti <ezio.melotti@gmail.com> |
|---|---|
| date | Wed, 16 Mar 2011 11:05:33 +0200 |
| parents | 8c6b3dc652fb |
| children | dc245d681901 |
line wrap: on
line diff
--- a/Lib/test/test_struct.py Tue Mar 15 17:41:13 2011 -0400 +++ b/Lib/test/test_struct.py Wed Mar 16 11:05:33 2011 +0200 @@ -476,7 +476,7 @@ 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]:
