1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Fixed #21268 -- Fixed E303 pep8 warnings

This commit is contained in:
Alasdair Nicol
2013-10-18 00:58:02 +01:00
parent 65d1d65d52
commit bab9123daa
53 changed files with 2 additions and 87 deletions

View File

@@ -794,7 +794,6 @@ class BaseCacheTests(object):
self.assertEqual(self.custom_key_cache.get('answer2'), 42)
self.assertEqual(self.custom_key_cache2.get('answer2'), 42)
def test_cache_write_unpickable_object(self):
update_middleware = UpdateCacheMiddleware()
update_middleware.cache = self.cache
@@ -1496,7 +1495,6 @@ class CacheI18nTest(TestCase):
self.assertIn(sanitized_name, learn_cache_key(request, response),
"Cache keys should include the time zone name when time zones are active")
@override_settings(
CACHE_MIDDLEWARE_KEY_PREFIX="test",
CACHE_MIDDLEWARE_SECONDS=60,