Skip to content

Commit 6aaf9ba

Browse files
committed
removed a checking of dict order because this order is not cared (some implementation might be in ordered, but other one is not)
1 parent 5957dc7 commit 6aaf9ba

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tests/fields/fields.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4519,7 +4519,6 @@ class Doc(Document):
45194519
self.assertEqual(type(doc.ordered_data), OrderedDict)
45204520
self.assertEqual(type(doc.unordered_data), dict)
45214521
self.assertEqual([k for k,_ in doc.ordered_data.items()], ['d', 'c', 'b', 'a'])
4522-
self.assertNotEqual([k for k,_ in doc.unordered_data.items()], ['d', 'c', 'b', 'a'])
45234522

45244523
def test_dynamicfield_with_wrong_container_class(self):
45254524
with self.assertRaises(ValidationError):

0 commit comments

Comments
 (0)