summaryrefslogtreecommitdiff
path: root/tests/utils_tests/test_datastructures.py
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2013-09-03 09:48:46 -0400
committerTim Graham <timograham@gmail.com>2013-09-03 09:48:46 -0400
commitec784c486bd8368fed25b1ad7a4328baaa2bcc74 (patch)
tree3db2abe06c61f8602a14536533128d4c97f212fb /tests/utils_tests/test_datastructures.py
parent7b04038a7f4b291bc05124c4b5300001dc94e13f (diff)
downloaddjango-ec784c486bd8368fed25b1ad7a4328baaa2bcc74.tar.gz
Silenced deprecation warnings in SortedDict tests; refs [07876cf02b]
Diffstat (limited to 'tests/utils_tests/test_datastructures.py')
-rw-r--r--tests/utils_tests/test_datastructures.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/utils_tests/test_datastructures.py b/tests/utils_tests/test_datastructures.py
index 7984837053..263a5d4be7 100644
--- a/tests/utils_tests/test_datastructures.py
+++ b/tests/utils_tests/test_datastructures.py
@@ -6,13 +6,15 @@ import copy
import pickle
from django.test import SimpleTestCase
+from django.test.utils import IgnorePendingDeprecationWarningsMixin
from django.utils.datastructures import (DictWrapper, ImmutableList,
MultiValueDict, MultiValueDictKeyError, MergeDict, SortedDict)
from django.utils import six
-class SortedDictTests(SimpleTestCase):
+class SortedDictTests(IgnorePendingDeprecationWarningsMixin, SimpleTestCase):
def setUp(self):
+ super(SortedDictTests, self).setUp()
self.d1 = SortedDict()
self.d1[7] = 'seven'
self.d1[1] = 'one'