1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Advanced deprecation warnings for 1.8.

This commit is contained in:
Aymeric Augustin
2014-03-22 21:08:59 +01:00
parent 74b3467646
commit 232181d1c5
9 changed files with 24 additions and 22 deletions

View File

@@ -6,13 +6,13 @@ import copy
import pickle
from django.test import SimpleTestCase
from django.test.utils import IgnorePendingDeprecationWarningsMixin
from django.test.utils import IgnoreDeprecationWarningsMixin
from django.utils.datastructures import (DictWrapper, ImmutableList,
MultiValueDict, MultiValueDictKeyError, MergeDict, SortedDict)
from django.utils import six
class SortedDictTests(IgnorePendingDeprecationWarningsMixin, SimpleTestCase):
class SortedDictTests(IgnoreDeprecationWarningsMixin, SimpleTestCase):
def setUp(self):
super(SortedDictTests, self).setUp()
self.d1 = SortedDict()
@@ -136,7 +136,7 @@ class SortedDictTests(IgnorePendingDeprecationWarningsMixin, SimpleTestCase):
self.assertEqual(list(reversed(self.d2)), [7, 0, 9, 1])
class MergeDictTests(IgnorePendingDeprecationWarningsMixin, SimpleTestCase):
class MergeDictTests(IgnoreDeprecationWarningsMixin, SimpleTestCase):
def test_simple_mergedict(self):
d1 = {'chris': 'cool', 'camri': 'cute', 'cotton': 'adorable',