From cf45bb02d7082eeac98cecca825b28c89cd6ccd0 Mon Sep 17 00:00:00 2001 From: Ed Morley Date: Wed, 31 Aug 2016 15:11:05 +0100 Subject: [PATCH] Removed unused variable in test_memcached_uses_highest_pickle_version --- tests/cache/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/cache/tests.py b/tests/cache/tests.py index 782b44ba12d..1de1f014906 100644 --- a/tests/cache/tests.py +++ b/tests/cache/tests.py @@ -1238,7 +1238,7 @@ class MemcachedCacheTests(BaseMemcachedTests, TestCase): def test_memcached_uses_highest_pickle_version(self): # Regression test for #19810 - for cache_key, cache_config in settings.CACHES.items(): + for cache_key in settings.CACHES: self.assertEqual(caches[cache_key]._cache.pickleProtocol, pickle.HIGHEST_PROTOCOL)