mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-28 17:09:59 +03:00
Update test_fields.py
This commit is contained in:
parent
d0f15a9e99
commit
b24a191dc1
|
@ -1203,8 +1203,8 @@ class TestRoundingDecimalField(TestCase):
|
|||
with pytest.raises(AssertionError) as excinfo:
|
||||
serializers.DecimalField(max_digits=1, decimal_places=1, rounding='ROUND_UNKNOWN')
|
||||
assert 'Invalid rounding option' in str(excinfo.value)
|
||||
|
||||
|
||||
|
||||
|
||||
# Date & time serializers...
|
||||
class TestDateField(FieldValues):
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue
Block a user