this needn't be in the loop
diff --git a/Lib/test/test_struct.py b/Lib/test/test_struct.py
index d574bd7..8448286 100644
--- a/Lib/test/test_struct.py
+++ b/Lib/test/test_struct.py
@@ -503,8 +503,8 @@
                 self.assertFalse(prefix, msg='encoded bool is not one byte: %r'
                                              %packed)
 
-            for c in [b'\x01', b'\x7f', b'\xff', b'\x0f', b'\xf0']:
-                self.assertTrue(struct.unpack('>?', c)[0])
+        for c in [b'\x01', b'\x7f', b'\xff', b'\x0f', b'\xf0']:
+            self.assertTrue(struct.unpack('>?', c)[0])
 
     def test_count_overflow(self):
         hugecount = '{}b'.format(sys.maxsize+1)