aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_fields.py
diff options
context:
space:
mode:
authorTom Christie2014-09-25 10:49:25 +0100
committerTom Christie2014-09-25 10:49:25 +0100
commit1420c76453c37c023a901dd0938d717b7b5e52ca (patch)
tree56170487538675a02bba7dc5864d5a8fee3651fd /tests/test_fields.py
parentfb1546ee50953faae8af505a0c90da00ac08ad92 (diff)
downloaddjango-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.py4
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."
)