mirror of
https://github.com/django/django.git
synced 2025-11-20 03:30:00 +00:00
Advanced deprecation warnings for Django 1.7.
This commit is contained in:
parent
8b9b8d3bda
commit
acd7b34aaf
41 changed files with 80 additions and 81 deletions
|
|
@ -7,7 +7,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, IgnorePendingDeprecationWarningsMixin
|
||||
from django.test.utils import CaptureQueriesContext, IgnoreDeprecationWarningsMixin
|
||||
from django.utils import six
|
||||
from django.utils import unittest
|
||||
from django.utils.unittest import skip
|
||||
|
|
@ -591,7 +591,7 @@ class AssertFieldOutputTests(SimpleTestCase):
|
|||
self.assertFieldOutput(MyCustomField, {}, {}, empty_value=None)
|
||||
|
||||
|
||||
class DoctestNormalizerTest(IgnorePendingDeprecationWarningsMixin, SimpleTestCase):
|
||||
class DoctestNormalizerTest(IgnoreDeprecationWarningsMixin, SimpleTestCase):
|
||||
|
||||
def test_normalizer(self):
|
||||
from django.test.simple import make_doctest
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue