Commit 237fc274 authored by Mark Dickinson's avatar Mark Dickinson

Fix failing test test_bool following merge from trunk.

parent 25031f31
......@@ -682,7 +682,7 @@ def test_bool():
elif not prefix and verbose:
print('size of bool in native format is %i' % (len(packed)))
for c in b'\x01\x7f\xff\x0f\xf0':
for c in [b'\x01', b'\x7f', b'\xff', b'\x0f', b'\xf0']:
if struct.unpack('>?', c)[0] is not True:
raise TestFailed('%c did not unpack as True' % c)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment