mirror of
https://github.com/django/django.git
synced 2025-11-25 21:22:14 +00:00
parent
981a3426cf
commit
4c675523bd
3 changed files with 10 additions and 5 deletions
|
|
@ -10,7 +10,8 @@ class TestHashable(SimpleTestCase):
|
|||
({}, ()),
|
||||
({'a'}, ('a',)),
|
||||
(frozenset({'a'}), {'a'}),
|
||||
({'a': 1}, (('a', 1),)),
|
||||
({'a': 1, 'b': 2}, (('a', 1), ('b', 2))),
|
||||
({'b': 2, 'a': 1}, (('a', 1), ('b', 2))),
|
||||
(('a', ['b', 1]), ('a', ('b', 1))),
|
||||
(('a', {'b': 1}), ('a', (('b', 1),))),
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue