add pragma: win32 no cover

This commit is contained in:
Fabrice Flore-Thébault 2020-06-15 14:53:56 +02:00
parent dff7d60255
commit 9d4fe3a00b

View file

@ -78,7 +78,7 @@ def install_environment(
os.mkdir(directory)
def _docker_is_rootless() -> bool:
def _docker_is_rootless() -> bool: # pragma: win32 no cover
returncode, stdout, stderr = cmd_output(
'docker', 'system', 'info',
)
@ -93,7 +93,7 @@ def _docker_is_rootless() -> bool:
@functools.lru_cache(maxsize=1)
def docker_is_rootless() -> bool:
def docker_is_rootless() -> bool: # pragma: win32 no cover
return _docker_is_rootless()