Mercurial > cpython-lru_cache-weakref
diff Lib/test/test_struct.py @ 62845:74b2cbda9bda
this needn't be in the loop
| author | Benjamin Peterson <benjamin@python.org> |
|---|---|
| date | Wed, 07 Jul 2010 18:44:05 +0000 |
| parents | 73d82b0b6dee |
| children | f6266c459156 |
line wrap: on
line diff
--- a/Lib/test/test_struct.py Wed Jul 07 16:21:29 2010 +0000 +++ b/Lib/test/test_struct.py Wed Jul 07 18:44:05 2010 +0000 @@ -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)
