mirror of
https://github.com/django/django.git
synced 2025-11-25 21:22:14 +00:00
Made miscellaneous code cleanups
This commit is contained in:
parent
a05d86a69a
commit
ca32979cdc
6 changed files with 11 additions and 12 deletions
2
tests/cache/tests.py
vendored
2
tests/cache/tests.py
vendored
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue