diff options
author | Benjamin Peterson <benjamin@python.org> | 2010-07-09 13:31:11 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2010-07-09 13:31:11 (GMT) |
commit | 4b83af957629197050f61988183f56564892ab94 (patch) | |
tree | 5b86c5dfe09fc4dac9620fb26b28390f62c38ba0 /Lib/test/test_struct.py | |
parent | a04a32d5868ceea902b3219c00da958deee1c7de (diff) | |
download | cpython-4b83af957629197050f61988183f56564892ab94.zip cpython-4b83af957629197050f61988183f56564892ab94.tar.gz cpython-4b83af957629197050f61988183f56564892ab94.tar.bz2 |
wrap
Diffstat (limited to 'Lib/test/test_struct.py')
-rw-r--r-- | Lib/test/test_struct.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_struct.py b/Lib/test/test_struct.py index 96efa73..7cde590 100644 --- a/Lib/test/test_struct.py +++ b/Lib/test/test_struct.py @@ -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!' |