Fix simplifiable-range pylint warnings.

This commit is contained in:
Ned Batchelder
2015-05-30 11:18:58 -04:00
parent 5b6294fe23
commit cc5c1001d1
21 changed files with 54 additions and 55 deletions

View File

@@ -13,7 +13,7 @@ class MemcacheTest(TestCase):
"""
# Test whitespace, control characters, and some non-ASCII UTF-16
UNICODE_CHAR_CODES = ([c for c in range(0, 30)] + [127] +
UNICODE_CHAR_CODES = (range(30) + [127] +
[129, 500, 2 ** 8 - 1, 2 ** 8 + 1, 2 ** 16 - 1])
def setUp(self):