diff --git a/tests/test-cbor.py b/tests/test-cbor.py --- a/tests/test-cbor.py +++ b/tests/test-cbor.py @@ -1230,7 +1230,7 @@ True, False, None, - [None for i in range(128)], + [None] * 128, ] encoded = b''.join(cborutil.streamencode(source))