diff options
| author | Tom Christie | 2014-09-25 10:49:25 +0100 | 
|---|---|---|
| committer | Tom Christie | 2014-09-25 10:49:25 +0100 | 
| commit | 1420c76453c37c023a901dd0938d717b7b5e52ca (patch) | |
| tree | 56170487538675a02bba7dc5864d5a8fee3651fd /tests/test_fields.py | |
| parent | fb1546ee50953faae8af505a0c90da00ac08ad92 (diff) | |
| download | django-rest-framework-1420c76453c37c023a901dd0938d717b7b5e52ca.tar.bz2 | |
Ensure proper sorting of 'choices' attribute on ChoiceField
Diffstat (limited to 'tests/test_fields.py')
| -rw-r--r-- | tests/test_fields.py | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/tests/test_fields.py b/tests/test_fields.py index c2e03023..ebb88d3d 100644 --- a/tests/test_fields.py +++ b/tests/test_fields.py @@ -76,8 +76,8 @@ class TestFieldOptions:              ExampleSerializer()          assert str(exc_info.value) == (              "It is redundant to specify `source='example_field'` on field " -            "'CharField' in serializer 'ExampleSerializer', as it is the " -            "same the field name. Remove the `source` keyword argument." +            "'CharField' in serializer 'ExampleSerializer', because it is the " +            "same as the field name. Remove the `source` keyword argument."          ) | 
