Skip to content

Commit

Permalink
Merge pull request #1 from pre-commit/asottile_check_symlinks
Browse files Browse the repository at this point in the history
Skip the symlink tests on windows
  • Loading branch information
bchess committed Jan 15, 2016
2 parents 896c0cf + da88228 commit ee1e98a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/check_symlinks_test.py
Original file line number Diff line number Diff line change
@@ -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),
Expand Down

0 comments on commit ee1e98a

Please sign in to comment.