mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
[1.8.x] Renamed RemovedInDjango20Warning to RemovedInDjango110Warning.
This commit is contained in:
@@ -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')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user