Removed test.utils.TestTemplateLoader per deprecation timeline.

This commit is contained in:
Tim Graham 2015-01-18 14:18:07 -05:00
parent 7468c948b6
commit 5fb582d952
1 changed files with 0 additions and 12 deletions

View File

@ -15,10 +15,8 @@ from django.core.signals import request_started
from django.db import reset_queries from django.db import reset_queries
from django.http import request from django.http import request
from django.template import Template from django.template import Template
from django.template.loaders import locmem
from django.test.signals import template_rendered, setting_changed from django.test.signals import template_rendered, setting_changed
from django.utils import six from django.utils import six
from django.utils.deprecation import RemovedInDjango19Warning
from django.utils.encoding import force_str from django.utils.encoding import force_str
from django.utils.translation import deactivate from django.utils.translation import deactivate
@ -145,16 +143,6 @@ def get_runner(settings, test_runner_class=None):
return test_runner 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): class override_settings(object):
""" """
Acts as either a decorator, or a context manager. If it's a decorator it Acts as either a decorator, or a context manager. If it's a decorator it