1
0
mirror of https://github.com/django/django.git synced 2025-06-05 19:49:13 +00:00

flake8 fixes

This commit is contained in:
Alex Gaynor 2013-11-24 21:07:21 -06:00
parent 4e07d93325
commit 83ab04c6d6
2 changed files with 6 additions and 4 deletions

View File

@ -146,6 +146,7 @@ class DefaultCacheProxy(object):
cache = DefaultCacheProxy() cache = DefaultCacheProxy()
def close_caches(**kwargs): def close_caches(**kwargs):
# Some caches -- python-memcached in particular -- need to do a cleanup at the # Some caches -- python-memcached in particular -- need to do a cleanup at the
# end of a request cycle. If not implemented in a particular backend # end of a request cycle. If not implemented in a particular backend

View File

@ -1150,7 +1150,8 @@ class CustomCacheKeyValidationTests(TestCase):
'default': { 'default': {
'BACKEND': 'cache.closeable_cache.CacheClass', 'BACKEND': 'cache.closeable_cache.CacheClass',
} }
},) }
)
class GetCacheTests(IgnorePendingDeprecationWarningsMixin, TestCase): class GetCacheTests(IgnorePendingDeprecationWarningsMixin, TestCase):
def test_simple(self): def test_simple(self):