@@ -141,7 +141,7 @@ def test_versioned_python_hook(tempdir_factory, store):
141141 )
142142
143143
144- @skipif_cant_run_docker
144+ @skipif_cant_run_docker # pragma: windows no cover
145145def test_run_a_docker_hook (tempdir_factory , store ):
146146 _test_hook_repo (
147147 tempdir_factory , store , 'docker_hooks_repo' ,
@@ -150,7 +150,7 @@ def test_run_a_docker_hook(tempdir_factory, store):
150150 )
151151
152152
153- @skipif_cant_run_docker
153+ @skipif_cant_run_docker # pragma: windows no cover
154154def test_run_a_docker_hook_with_entry_args (tempdir_factory , store ):
155155 _test_hook_repo (
156156 tempdir_factory , store , 'docker_hooks_repo' ,
@@ -159,7 +159,7 @@ def test_run_a_docker_hook_with_entry_args(tempdir_factory, store):
159159 )
160160
161161
162- @skipif_cant_run_docker
162+ @skipif_cant_run_docker # pragma: windows no cover
163163def test_run_a_failing_docker_hook (tempdir_factory , store ):
164164 _test_hook_repo (
165165 tempdir_factory , store , 'docker_hooks_repo' ,
@@ -169,7 +169,7 @@ def test_run_a_failing_docker_hook(tempdir_factory, store):
169169 )
170170
171171
172- @skipif_cant_run_docker
172+ @skipif_cant_run_docker # pragma: windows no cover
173173@pytest .mark .parametrize ('hook_id' , ('echo-entrypoint' , 'echo-cmd' ))
174174def test_run_a_docker_image_hook (tempdir_factory , store , hook_id ):
175175 _test_hook_repo (
@@ -242,7 +242,7 @@ def test_system_hook_with_spaces(tempdir_factory, store):
242242 )
243243
244244
245- @skipif_cant_run_swift
245+ @skipif_cant_run_swift # pragma: windows no cover
246246def test_swift_hook (tempdir_factory , store ):
247247 _test_hook_repo (
248248 tempdir_factory , store , 'swift_hooks_repo' ,
@@ -386,7 +386,7 @@ def test_grep_hook_not_matching(self, regex, greppable_files, store):
386386 assert (ret , out ) == (0 , b'' )
387387
388388
389- @xfailif_no_pcre_support
389+ @xfailif_no_pcre_support # pragma: windows no cover
390390class TestPCRE (TestPygrep ):
391391 """organized as a class for xfailing pcre"""
392392 language = 'pcre'
0 commit comments