flake8 fixes
This commit is contained in:
parent
4e07d93325
commit
83ab04c6d6
|
@ -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
|
||||||
|
|
|
@ -1147,10 +1147,11 @@ class CustomCacheKeyValidationTests(TestCase):
|
||||||
|
|
||||||
@override_settings(
|
@override_settings(
|
||||||
CACHES={
|
CACHES={
|
||||||
'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):
|
||||||
|
|
Loading…
Reference in New Issue