diff --git a/tests/test_fields.py b/tests/test_fields.py index f4ef749aa..c13dc4c61 100644 --- a/tests/test_fields.py +++ b/tests/test_fields.py @@ -1132,21 +1132,21 @@ class TestMappingFieldWithIntKeys(FieldValues): Valid and invalid values for `MappingField`. """ valid_inputs = { - 1: 'one', - 2: 'two', - 'three': 3, - 'four': 4 - } - invalid_inputs = { - 5: ['"5" not found in "mapping" dict'], - 'abc': ['"abc" not found in "mapping" dict'] - } - outputs = { 'one': 1, 'two': 2, 3: 'three', 4: 'four' } + invalid_inputs = { + 5: ['"5" not found in "mapping" values'], + 'abc': ['"abc" not found in "mapping" values'] + } + outputs = { + 1: 'one', + 2: 'two', + 'three': 3, + 'four': 4 + } field = serializers.MappingField( mapping={ 1: 'one',