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:
2
tests/cache/tests.py
vendored
2
tests/cache/tests.py
vendored
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user