From 6fba85b7660bc8ab9d9abf354d527f4f2f1b5883 Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Thu, 13 Feb 2020 13:52:49 +0100 Subject: [PATCH] Removed unused cache.tests.CacheUtils._set_cache(). Unused since its introduction in 71a03e01aa19cbde08e915d156abf39b67d904ef. --- tests/cache/tests.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tests/cache/tests.py b/tests/cache/tests.py index 097b42818a..bd8354d791 100644 --- a/tests/cache/tests.py +++ b/tests/cache/tests.py @@ -1620,11 +1620,6 @@ class CacheUtils(SimpleTestCase): request._cache_update_cache = True if not update_cache else update_cache return request - def _set_cache(self, request, msg): - response = HttpResponse() - response.content = msg - return UpdateCacheMiddleware().process_response(request, response) - def test_patch_vary_headers(self): headers = ( # Initial vary, new headers, resulting vary.