Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit ec784c486bd8368fed25b1ad7a4328baaa2bcc74 1 parent 7b04038
Tim Graham timgraham authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 tests/utils_tests/test_datastructures.py
4 tests/utils_tests/test_datastructures.py
View
@@ -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'
Please sign in to comment.
Something went wrong with that request. Please try again.