Commit dad207de by Tom Christie

Don't attempt to test dicts (unordered)

parent ec8098b7
......@@ -1572,11 +1572,7 @@ class TestBinaryJSONField(FieldValues):
('{"a": "unterminated string}', ['Value must be valid JSON.']),
]
outputs = [
({
'a': 1,
'b': ['some', 'list', True, 1.23],
'3': None
}, b'{"a": 1, "3": null, "b": ["some", "list", true, 1.23]}'),
(['some', 'list', True, 1.23], b'["some", "list", true, 1.23]'),
]
field = serializers.JSONField(binary=True)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment