mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-13 02:36:17 +03:00
Exclude abstract method code from coverage
This commit is contained in:
parent
10cf2f2651
commit
c97b5c6f7a
|
@ -184,7 +184,7 @@ class UnixViewer(Viewer):
|
|||
|
||||
@abc.abstractmethod
|
||||
def get_command_ex(self, file: str, **options: Any) -> tuple[str, str]:
|
||||
pass
|
||||
pass # pragma: no cover
|
||||
|
||||
def get_command(self, file: str, **options: Any) -> str:
|
||||
command = self.get_command_ex(file, **options)[0]
|
||||
|
|
Loading…
Reference in New Issue
Block a user