mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +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:
parent
a521d10322
commit
909433fa50
7 changed files with 23 additions and 49 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue