diff options
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 3f4e65f2..c20bdd8c 100644 --- a/tests/test_fields.py +++ b/tests/test_fields.py @@ -62,7 +62,7 @@ class TestEmpty: """ field = serializers.CharField(allow_blank=True) output = field.run_validation('') - assert output is '' + assert output == '' def test_default(self): """ @@ -817,7 +817,7 @@ class TestChoiceField(FieldValues): ] ) output = field.run_validation('') - assert output is '' + assert output == '' class TestChoiceFieldWithType(FieldValues): |
