mirror of
https://github.com/django/django.git
synced 2025-08-23 03:54:35 +00:00
Silenced deprecation warnings in SortedDict tests; refs [07876cf02b
]
This commit is contained in:
parent
7b04038a7f
commit
ec784c486b
1 changed files with 3 additions and 1 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue