From 6aaf9ba470edcba89489b95f0302884730bf70ca Mon Sep 17 00:00:00 2001 From: Hiroyasu OHYAMA Date: Wed, 1 Mar 2017 09:32:28 +0000 Subject: [PATCH] removed a checking of dict order because this order is not cared (some implementation might be in ordered, but other one is not) --- tests/fields/fields.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/fields/fields.py b/tests/fields/fields.py index b73eb0af..2db37317 100644 --- a/tests/fields/fields.py +++ b/tests/fields/fields.py @@ -4519,7 +4519,6 @@ class EmbeddedDocumentListFieldTestCase(MongoDBTestCase): self.assertEqual(type(doc.ordered_data), OrderedDict) self.assertEqual(type(doc.unordered_data), dict) self.assertEqual([k for k,_ in doc.ordered_data.items()], ['d', 'c', 'b', 'a']) - self.assertNotEqual([k for k,_ in doc.unordered_data.items()], ['d', 'c', 'b', 'a']) def test_dynamicfield_with_wrong_container_class(self): with self.assertRaises(ValidationError):