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
Remove unicode from exception value.
  • Loading branch information
pattisdr committed Nov 13, 2015
commit 3ddbf92bf99f47827cd7a8b2292f0dadac043cc2
2 changes: 1 addition & 1 deletion tests/test_fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -1461,7 +1461,7 @@ def test_collection_types_are_invalid_input(self):

with pytest.raises(serializers.ValidationError) as exc_info:
field.to_internal_value(input_value)
assert exc_info.value.detail == [u'Expected a list of items but got type "dict".']
assert exc_info.value.detail == ['Expected a list of items but got type "dict".']


class TestEmptyListField(FieldValues):
Expand Down