mirror of https://github.com/tiangolo/fastapi.git
Deprecated Color
This commit is contained in:
parent
7d26de7ed9
commit
c78d659487
|
|
@ -429,12 +429,6 @@ def test_encode_pydantic_extra_types_coordinate():
|
|||
assert jsonable_encoder(coord) == str(coord)
|
||||
|
||||
|
||||
def test_encode_pydantic_color():
|
||||
pydantic_color = pytest.importorskip("pydantic.color")
|
||||
color = pydantic_color.Color("red")
|
||||
assert jsonable_encoder(color) == str(color)
|
||||
|
||||
|
||||
def test_encode_pydantic_extra_types_color():
|
||||
et_color = pytest.importorskip("pydantic_extra_types.color")
|
||||
color = et_color.Color("red")
|
||||
|
|
|
|||
Loading…
Reference in New Issue