Skip to content

Commit

Permalink
Don't attempt to test dicts (unordered)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomchristie committed Sep 28, 2015
1 parent ec8098b commit dad207d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/test_fields.py
Expand Up @@ -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)

Expand Down

0 comments on commit dad207d

Please sign in to comment.