diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2014-03-22 21:08:59 +0100 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2014-03-22 21:12:58 +0100 |
| commit | 232181d1c5307d9af5fc292682661e91439a9289 (patch) | |
| tree | 707f74fc790b2d6a3d57c410107223db78814342 /tests/utils_tests/test_datastructures.py | |
| parent | 74b34676468f2cbf0e5e996cca6f83fabe7a3f6d (diff) | |
Advanced deprecation warnings for 1.8.
Diffstat (limited to 'tests/utils_tests/test_datastructures.py')
| -rw-r--r-- | tests/utils_tests/test_datastructures.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/utils_tests/test_datastructures.py b/tests/utils_tests/test_datastructures.py index 212e96034e..295b3650d6 100644 --- a/tests/utils_tests/test_datastructures.py +++ b/tests/utils_tests/test_datastructures.py @@ -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', |
