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

@@ -52,7 +52,7 @@ class TestRandomUserPartitionScheme(PartitionTestCase):
group1_id = RandomUserPartitionScheme.get_group_for_user(self.MOCK_COURSE_ID, self.user, self.user_partition)
# make sure we get the same group back out every time
for __ in range(0, 10):
for __ in range(10):
group2_id = RandomUserPartitionScheme.get_group_for_user(self.MOCK_COURSE_ID, self.user, self.user_partition)
self.assertEqual(group1_id, group2_id)