Remove unnecessary start argument for range in cache tests
authorHarmon <Harmon758@gmail.com>
Mon, 28 Dec 2020 04:17:48 +0000 (22:17 -0600)
committerHarmon <Harmon758@gmail.com>
Mon, 28 Dec 2020 04:17:48 +0000 (22:17 -0600)
tests/test_api.py

index cf1f6cba2b37e299aa9430e784ecb3b52397655e..e834c66b514d6c6b607b56004ac9895b7d720a0e 100644 (file)
@@ -427,7 +427,7 @@ class TweepyCacheTests(unittest.TestCase):
             self.assertEqual(self.cache.count(), 0, 'Cache cleanup failed')
 
         # test count
-        for i in range(0, 20):
+        for i in range(20):
             self.cache.store('testkey%i' % i, 'testvalue')
         self.assertEqual(self.cache.count(), 20, 'Count is wrong')