diff --git a/Lib/test/test_struct.py b/Lib/test/test_struct.py index 96efa7350a5..7cde5903af5 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!'