mirror of https://github.com/tiangolo/fastapi.git
add pragma no cover again
This commit is contained in:
parent
6851dad91c
commit
f57b166f56
|
|
@ -43,7 +43,9 @@ Undefined = PydanticUndefined
|
|||
try:
|
||||
from pydantic_extra_types.color import Color
|
||||
except ImportError:
|
||||
from pydantic.color import Color # type: ignore[assignment] # noqa: F401
|
||||
from pydantic.color import (
|
||||
Color, # type: ignore[assignment] # noqa: F401 # pragma: no cover
|
||||
)
|
||||
|
||||
|
||||
def define_forwardref() -> Callable[..., Any]:
|
||||
|
|
|
|||
Loading…
Reference in New Issue