mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-13 10:46:16 +03:00
Removed no cover pragmas
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
This commit is contained in:
parent
68db96981c
commit
d02a778efd
|
@ -217,7 +217,7 @@ if hasattr(core, "DEFAULT_STRATEGY"):
|
|||
# Registries
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from . import ImageFile # pragma: no cover
|
||||
from . import ImageFile
|
||||
ID: list[str] = []
|
||||
OPEN: dict[
|
||||
str,
|
||||
|
@ -2890,7 +2890,7 @@ class ImageTransformHandler:
|
|||
image: Image,
|
||||
**options: dict[str, str | int | tuple[int, ...] | list[int]],
|
||||
) -> Image:
|
||||
pass # pragma: no cover
|
||||
pass
|
||||
|
||||
|
||||
# --------------------------------------------------------------------
|
||||
|
@ -3653,7 +3653,7 @@ atexit.register(core.clear_cache)
|
|||
|
||||
|
||||
if TYPE_CHECKING:
|
||||
_ExifBase = MutableMapping[int, Any] # pragma: no cover
|
||||
_ExifBase = MutableMapping[int, Any]
|
||||
else:
|
||||
_ExifBase = MutableMapping
|
||||
|
||||
|
|
|
@ -246,7 +246,7 @@ class PdfArray(List[Any]):
|
|||
|
||||
|
||||
if TYPE_CHECKING:
|
||||
_DictBase = collections.UserDict[Union[str, bytes], Any] # pragma: no cover
|
||||
_DictBase = collections.UserDict[Union[str, bytes], Any]
|
||||
else:
|
||||
_DictBase = collections.UserDict
|
||||
|
||||
|
|
|
@ -476,7 +476,7 @@ def _register_basic(idx_fmt_name):
|
|||
|
||||
|
||||
if TYPE_CHECKING:
|
||||
_IFDv2Base = MutableMapping[int, Any] # pragma: no cover
|
||||
_IFDv2Base = MutableMapping[int, Any]
|
||||
else:
|
||||
_IFDv2Base = MutableMapping
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user