From ca32979cdcafe28cc9cba2c189787e536fef9bb9 Mon Sep 17 00:00:00 2001 From: Dmitry Dygalo Date: Thu, 21 Jul 2016 10:28:40 +0200 Subject: Made miscellaneous code cleanups --- tests/cache/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/cache') 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): -- cgit v1.3