pre-commit-ci-lite[bot]
4 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
0 additions and
1 deletions
-
tests/test_jsonable_encoder.py
|
|
@ -225,7 +225,6 @@ def test_custom_encoders(): |
|
|
assert encoded_instance2["dt_field"] == instance["dt_field"].isoformat() |
|
|
assert encoded_instance2["dt_field"] == instance["dt_field"].isoformat() |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def test_custom_encoders_applied_to_model_dump_python_values(): |
|
|
def test_custom_encoders_applied_to_model_dump_python_values(): |
|
|
class ModelWithDecimal(BaseModel): |
|
|
class ModelWithDecimal(BaseModel): |
|
|
value: Decimal |
|
|
value: Decimal |
|
|
|