summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2015-01-18 14:18:07 -0500
committerTim Graham <timograham@gmail.com>2015-01-18 14:19:14 -0500
commit5fb582d952673067046de0d0ddf37b45675655db (patch)
tree64aca5e3c32fdaa81c6a07da2c0e86a0757f9e61
parent7468c948b6e7830082c939e0f43e2bd780c90527 (diff)
Removed test.utils.TestTemplateLoader per deprecation timeline.
-rw-r--r--django/test/utils.py12
1 files changed, 0 insertions, 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