From 5fb582d952673067046de0d0ddf37b45675655db Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Sun, 18 Jan 2015 14:18:07 -0500 Subject: [PATCH] Removed test.utils.TestTemplateLoader per deprecation timeline. --- django/test/utils.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/django/test/utils.py b/django/test/utils.py index 2bc6cf3451..1991602293 100644 --- a/django/test/utils.py +++ b/django/test/utils.py @@ -15,10 +15,8 @@ from django.core.signals import request_started from django.db import reset_queries from django.http import request from django.template import Template -from django.template.loaders import locmem from django.test.signals import template_rendered, setting_changed from django.utils import six -from django.utils.deprecation import RemovedInDjango19Warning from django.utils.encoding import force_str from django.utils.translation import deactivate @@ -145,16 +143,6 @@ def get_runner(settings, test_runner_class=None): return test_runner -class TestTemplateLoader(locmem.Loader): - - def __init__(self, *args, **kwargs): - warnings.warn( - "django.test.utils.TestTemplateLoader was renamed to " - "django.template.loaders.locmem.Loader.", - RemovedInDjango19Warning, stacklevel=2) - super(TestTemplateLoader, self).__init__(*args, **kwargs) - - class override_settings(object): """ Acts as either a decorator, or a context manager. If it's a decorator it