Removed unused variable in test_memcached_uses_highest_pickle_version

This commit is contained in:
Ed Morley 2016-08-31 15:11:05 +01:00 committed by Tim Graham
parent b7fb608142
commit cf45bb02d7
1 changed files with 1 additions and 1 deletions

View File

@ -1238,7 +1238,7 @@ class MemcachedCacheTests(BaseMemcachedTests, TestCase):
def test_memcached_uses_highest_pickle_version(self): def test_memcached_uses_highest_pickle_version(self):
# Regression test for #19810 # 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) self.assertEqual(caches[cache_key]._cache.pickleProtocol, pickle.HIGHEST_PROTOCOL)