Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added missing file forgotten in r17479.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17485 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 8ae02fde2b2434e80dea44c9f28461fe8cb585c9 1 parent 55aa285
@jezdez jezdez authored
Showing with 11 additions and 0 deletions.
  1. +11 −0 tests/regressiontests/cache/closeable_cache.py
View
11 tests/regressiontests/cache/closeable_cache.py
@@ -0,0 +1,11 @@
+from django.core.cache.backends.locmem import LocMemCache
+
+
+class CloseHookMixin(object):
+ closed = False
+
+ def close(self, **kwargs):
+ self.closed = True
+
+class CacheClass(CloseHookMixin, LocMemCache):
+ pass
Please sign in to comment.
Something went wrong with that request. Please try again.