projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f084da8
)
Remove unnecessary start argument for range in cache tests
author
Harmon
<Harmon758@gmail.com>
Mon, 28 Dec 2020 04:17:48 +0000
(22:17 -0600)
committer
Harmon
<Harmon758@gmail.com>
Mon, 28 Dec 2020 04:17:48 +0000
(22:17 -0600)
tests/test_api.py
patch
|
blob
|
blame
|
history
diff --git
a/tests/test_api.py
b/tests/test_api.py
index cf1f6cba2b37e299aa9430e784ecb3b52397655e..e834c66b514d6c6b607b56004ac9895b7d720a0e 100644
(file)
--- a/
tests/test_api.py
+++ b/
tests/test_api.py
@@
-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')