This commit is contained in:
Benjamin Peterson 2010-07-09 13:31:11 +00:00
parent a04a32d586
commit 4b83af9576
1 changed files with 2 additions and 1 deletions

View File

@ -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!'