summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_struct.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-07-09 13:31:11 (GMT)
committerBenjamin Peterson <benjamin@python.org>2010-07-09 13:31:11 (GMT)
commit4b83af957629197050f61988183f56564892ab94 (patch)
tree5b86c5dfe09fc4dac9620fb26b28390f62c38ba0 /Lib/test/test_struct.py
parenta04a32d5868ceea902b3219c00da958deee1c7de (diff)
downloadcpython-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.py3
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!'