diff --git a/tests/rules/test_ssh_known_host.py b/tests/rules/test_ssh_known_host.py index f2828a376..66b76e961 100644 --- a/tests/rules/test_ssh_known_host.py +++ b/tests/rules/test_ssh_known_host.py @@ -52,6 +52,7 @@ def test_match(ssh_error): assert not match(Command('ssh')) +@pytest.mark.skipif(os.name == 'nt', reason='Skip if testing on Windows') def test_side_effect(ssh_error): errormsg, path, reset, known_hosts = ssh_error command = Command('ssh user@host', stderr=errormsg)