Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Don't attempt to test dicts (unordered)
  • Loading branch information
lovelydinosaur committed Sep 28, 2015
commit dad207de6687fc5d9fd32b47d64932f0982617a7
6 changes: 1 addition & 5 deletions tests/test_fields.py
Original file line number Diff line number Diff line change
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