From da882286e36d935dcf3c152aeed82a27585f6a9d Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Thu, 14 Jan 2016 19:03:11 -0800 Subject: [PATCH] Skip the symlink tests on windows --- tests/check_symlinks_test.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/check_symlinks_test.py b/tests/check_symlinks_test.py index 2235be0..4b11e71 100644 --- a/tests/check_symlinks_test.py +++ b/tests/check_symlinks_test.py @@ -1,9 +1,12 @@ +import os + import pytest from pre_commit_hooks.check_symlinks import check_symlinks from testing.util import get_resource_path +@pytest.mark.xfail(os.name == 'nt', reason='No symlink support on windows') @pytest.mark.parametrize(('filename', 'expected_retval'), ( ('broken_symlink', 1), ('working_symlink', 0),