diff options
author | Benjamin Peterson <benjamin@python.org> | 2010-07-07 18:44:05 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2010-07-07 18:44:05 (GMT) |
commit | c937dc2ccb654a50e95551beb4c7379b7b357c75 (patch) | |
tree | b2d3af3981a45849c3e49eb834d3448e69d36be2 /Lib | |
parent | be64d951694c3f00c57024799246f41618efd625 (diff) | |
download | cpython-c937dc2ccb654a50e95551beb4c7379b7b357c75.zip cpython-c937dc2ccb654a50e95551beb4c7379b7b357c75.tar.gz cpython-c937dc2ccb654a50e95551beb4c7379b7b357c75.tar.bz2 |
this needn't be in the loop
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_struct.py | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ class StructTest(unittest.TestCase): 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) |