diff options
| author | Tim Graham <timograham@gmail.com> | 2015-06-22 13:54:35 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-06-23 07:22:16 -0400 |
| commit | ae1d663b7913f6da233c55409c4973248372d302 (patch) | |
| tree | 1ac06b1eccd77be127ae8d046e9ade878623c176 /tests/template_backends | |
| parent | 7439039806038ce35d3a91f430037c667dcab051 (diff) | |
[1.8.x] Renamed RemovedInDjango20Warning to RemovedInDjango110Warning.
Diffstat (limited to 'tests/template_backends')
| -rw-r--r-- | tests/template_backends/test_django.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/template_backends/test_django.py b/tests/template_backends/test_django.py index a8cc0d58b8..3aecaa30b5 100644 --- a/tests/template_backends/test_django.py +++ b/tests/template_backends/test_django.py @@ -3,7 +3,7 @@ from template_tests.test_response import test_processor_name from django.template import RequestContext from django.template.backends.django import DjangoTemplates from django.test import RequestFactory, ignore_warnings -from django.utils.deprecation import RemovedInDjango20Warning +from django.utils.deprecation import RemovedInDjango110Warning from .test_dummy import TemplateStringsTests @@ -35,7 +35,7 @@ class DjangoTemplatesTests(TemplateStringsTests): content = template.render({'processors': 'no'}, request) self.assertEqual(content, 'no') - @ignore_warnings(category=RemovedInDjango20Warning) + @ignore_warnings(category=RemovedInDjango110Warning) def test_request_context_conflicts_with_request(self): template = self.engine.from_string('hello') |
