tests: avoid using a list comprehension to fill a list with fixed values
Flagged by PyCharm as an unused assignment for the variable in the list.
Differential Revision: https://phab.mercurial-scm.org/D7763
--- a/tests/test-cbor.py Fri Dec 27 18:21:41 2019 -0500
+++ b/tests/test-cbor.py Fri Dec 27 18:52:48 2019 -0500
@@ -1230,7 +1230,7 @@
True,
False,
None,
- [None for i in range(128)],
+ [None] * 128,
]
encoded = b''.join(cborutil.streamencode(source))