Browse files

Silenced deprecation warnings in SortedDict tests; refs [07876cf]

  • Loading branch information...
1 parent 7b04038 commit ec784c486bd8368fed25b1ad7a4328baaa2bcc74 @timgraham timgraham committed Sep 3, 2013
Showing with 3 additions and 1 deletion.
  1. +3 −1 tests/utils_tests/
@@ -6,13 +6,15 @@
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'

0 comments on commit ec784c4

Please sign in to comment.