mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-09-16 17:22:32 +03:00
lint
This commit is contained in:
parent
7704a244d6
commit
5a09412fd9
|
@ -758,7 +758,7 @@ class TestBooleanField(FieldValues):
|
|||
with pytest.raises(serializers.ValidationError) as exc_info:
|
||||
field.run_validation(input_value)
|
||||
expected = ['Must be a valid boolean.']
|
||||
assert exc_info.value.detail == expected
|
||||
assert exc_info.value.detail == expected
|
||||
|
||||
|
||||
class TestNullableBooleanField(TestBooleanField):
|
||||
|
@ -2670,4 +2670,4 @@ class TestValidationErrorCode:
|
|||
code=expected_code
|
||||
),
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user