summaryrefslogtreecommitdiff
path: root/tests/cache
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2017-01-25 13:59:25 -0500
committerGitHub <noreply@github.com>2017-01-25 13:59:25 -0500
commit1c466994d9729a8902d34e277a3a685bef2a08e1 (patch)
tree3a0c5ea4fc352aead66378f1fc2217feb6e1e2c7 /tests/cache
parent11856ea44e4dd1ff2358c559c0d04ac848832c23 (diff)
Refs #23919 -- Removed misc Python 2/3 references.
Diffstat (limited to 'tests/cache')
-rw-r--r--tests/cache/tests.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/cache/tests.py b/tests/cache/tests.py
index d519080c9a..6b462f29c2 100644
--- a/tests/cache/tests.py
+++ b/tests/cache/tests.py
@@ -1912,10 +1912,6 @@ class CacheI18nTest(TestCase):
get_cache_data = FetchFromCacheMiddleware().process_request(request)
self.assertIsNone(get_cache_data)
- # This test passes on Python < 3.3 even without the corresponding code
- # in UpdateCacheMiddleware, because pickling a StreamingHttpResponse
- # fails (http://bugs.python.org/issue14288). LocMemCache silently
- # swallows the exception and doesn't store the response in cache.
content = ['Check for cache with streaming content.']
response = StreamingHttpResponse(content)
UpdateCacheMiddleware().process_response(request, response)