mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Removed tests for django.utils.unittest vs. unittest.
Silenced warnings caused by the deprecation of django.utils.unittest. Thanks Preston Timmons and Carl Meyer for their advice. Fixed #20680.
This commit is contained in:
@@ -10,7 +10,7 @@ from django.http import HttpResponse
|
||||
from django.template.loader import render_to_string
|
||||
from django.test import SimpleTestCase, TestCase, skipUnlessDBFeature
|
||||
from django.test.html import HTMLParseError, parse_html
|
||||
from django.test.utils import CaptureQueriesContext, IgnoreDeprecationWarningsMixin
|
||||
from django.test.utils import CaptureQueriesContext, IgnoreAllDeprecationWarningsMixin
|
||||
from django.utils import six
|
||||
|
||||
from .models import Person
|
||||
@@ -592,7 +592,7 @@ class AssertFieldOutputTests(SimpleTestCase):
|
||||
self.assertFieldOutput(MyCustomField, {}, {}, empty_value=None)
|
||||
|
||||
|
||||
class DoctestNormalizerTest(IgnoreDeprecationWarningsMixin, SimpleTestCase):
|
||||
class DoctestNormalizerTest(IgnoreAllDeprecationWarningsMixin, SimpleTestCase):
|
||||
|
||||
def test_normalizer(self):
|
||||
from django.test.simple import make_doctest
|
||||
|
||||
Reference in New Issue
Block a user