diff options
| author | Tim Graham <timograham@gmail.com> | 2015-06-22 13:54:35 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-06-24 16:08:20 -0400 |
| commit | aaacaeb0963c406c4fe6f68c6ae51f4a65878250 (patch) | |
| tree | b100c6ffc345f12342243a8ac684a692b26a9357 /tests/template_tests/test_custom.py | |
| parent | e73842a95fb751f89a8cafc861bfd57d034cd116 (diff) | |
Renamed RemovedInDjangoXYWarnings for new roadmap.
Forwardport of ae1d663b7913f6da233c55409c4973248372d302
from stable/1.8.x plus more.
Diffstat (limited to 'tests/template_tests/test_custom.py')
| -rw-r--r-- | tests/template_tests/test_custom.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/template_tests/test_custom.py b/tests/template_tests/test_custom.py index 11c04f870c..5d2907074d 100644 --- a/tests/template_tests/test_custom.py +++ b/tests/template_tests/test_custom.py @@ -8,7 +8,7 @@ from django.template.library import InvalidTemplateLibrary from django.test import SimpleTestCase, ignore_warnings from django.test.utils import extend_sys_path from django.utils import six -from django.utils.deprecation import RemovedInDjango20Warning +from django.utils.deprecation import RemovedInDjango110Warning from .templatetags import custom, inclusion from .utils import ROOT @@ -247,7 +247,7 @@ class InclusionTagTests(TagTestCase): self.verify_tag(inclusion.inclusion_tag_current_app, 'inclusion_tag_current_app') self.verify_tag(inclusion.inclusion_unlimited_args_kwargs, 'inclusion_unlimited_args_kwargs') - @ignore_warnings(category=RemovedInDjango20Warning) + @ignore_warnings(category=RemovedInDjango110Warning) def test_15070_current_app(self): """ Test that inclusion tag passes down `current_app` of context to the |
