mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
fix for issue 246
This commit is contained in:
parent
2c70476c63
commit
72b61a81f9
3 changed files with 20 additions and 1 deletions
|
|
@ -73,3 +73,8 @@ xfailif_no_pcre_support = pytest.mark.xfail(
|
|||
not platform_supports_pcre(),
|
||||
reason='grep -P is not supported on this platform',
|
||||
)
|
||||
|
||||
xfailif_no_symlink = pytest.mark.xfail(
|
||||
not hasattr(os, 'symlink'),
|
||||
reason='Symlink is not supported on this platform',
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue