summaryrefslogtreecommitdiff
path: root/tests/cache
diff options
context:
space:
mode:
authorDmitry Dygalo <dadygalo@gmail.com>2016-07-21 10:28:40 +0200
committerMarkus Holtermann <info@markusholtermann.eu>2016-07-21 10:08:19 -0400
commitca32979cdcafe28cc9cba2c189787e536fef9bb9 (patch)
tree3befb4bf9f46c5e6486039ad7eab549405a00518 /tests/cache
parenta05d86a69a7f11f00032b8d7846932b139c670e0 (diff)
Made miscellaneous code cleanups
Diffstat (limited to 'tests/cache')
-rw-r--r--tests/cache/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cache/tests.py b/tests/cache/tests.py
index dc4c69cd43..f0e55ced29 100644
--- a/tests/cache/tests.py
+++ b/tests/cache/tests.py
@@ -560,7 +560,7 @@ class BaseCacheTests(object):
# Count how many keys are left in the cache.
for i in range(1, initial_count):
if cull_cache.has_key('cull%d' % i):
- count = count + 1
+ count += 1
self.assertEqual(count, final_count)
def test_cull(self):