mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
wrap
This commit is contained in:
parent
a04a32d586
commit
4b83af9576
1 changed files with 2 additions and 1 deletions
|
@ -446,7 +446,8 @@ class StructTest(unittest.TestCase):
|
|||
|
||||
# Test bogus offset (issue 3694)
|
||||
sb = small_buf
|
||||
self.assertRaises((TypeError, struct.error), struct.pack_into, b'', sb, None)
|
||||
self.assertRaises((TypeError, struct.error), struct.pack_into, b'', sb,
|
||||
None)
|
||||
|
||||
def test_pack_into_fn(self):
|
||||
test_string = b'Reykjavik rocks, eow!'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue