From ae1d663b7913f6da233c55409c4973248372d302 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Mon, 22 Jun 2015 13:54:35 -0400 Subject: [1.8.x] Renamed RemovedInDjango20Warning to RemovedInDjango110Warning. --- tests/utils_tests/test_checksums.py | 4 ++-- tests/utils_tests/test_html.py | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'tests/utils_tests') diff --git a/tests/utils_tests/test_checksums.py b/tests/utils_tests/test_checksums.py index 0f6c8d6454..c3888ca26b 100644 --- a/tests/utils_tests/test_checksums.py +++ b/tests/utils_tests/test_checksums.py @@ -1,7 +1,7 @@ import unittest from django.test import ignore_warnings -from django.utils.deprecation import RemovedInDjango20Warning +from django.utils.deprecation import RemovedInDjango110Warning class TestUtilsChecksums(unittest.TestCase): @@ -15,7 +15,7 @@ class TestUtilsChecksums(unittest.TestCase): output = value self.assertEqual(function(value), output) - @ignore_warnings(category=RemovedInDjango20Warning) + @ignore_warnings(category=RemovedInDjango110Warning) def test_luhn(self): from django.utils import checksums f = checksums.luhn diff --git a/tests/utils_tests/test_html.py b/tests/utils_tests/test_html.py index 58a4d48753..bc9874c696 100644 --- a/tests/utils_tests/test_html.py +++ b/tests/utils_tests/test_html.py @@ -7,7 +7,7 @@ from datetime import datetime from django.test import SimpleTestCase, ignore_warnings from django.utils import html, safestring, six from django.utils._os import upath -from django.utils.deprecation import RemovedInDjango20Warning +from django.utils.deprecation import RemovedInDjango110Warning from django.utils.encoding import force_text @@ -123,7 +123,7 @@ class TestUtilsHtml(SimpleTestCase): for value, output in items: self.check_output(f, value, output) - @ignore_warnings(category=RemovedInDjango20Warning) + @ignore_warnings(category=RemovedInDjango110Warning) def test_strip_entities(self): f = html.strip_entities # Strings that should come out untouched. @@ -154,7 +154,7 @@ class TestUtilsHtml(SimpleTestCase): for value, output in items: self.check_output(f, value, output) - @ignore_warnings(category=RemovedInDjango20Warning) + @ignore_warnings(category=RemovedInDjango110Warning) def test_remove_tags(self): f = html.remove_tags items = ( -- cgit v1.3