Update test_fields.py

This commit is contained in:
Chuan Shi 2019-03-07 15:36:37 -08:00 committed by GitHub
parent d0f15a9e99
commit b24a191dc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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):
"""