mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
commit
c420741585
1 changed files with 1 additions and 1 deletions
|
|
@ -811,7 +811,7 @@ def test_include_exclude_base_case(some_filenames):
|
||||||
|
|
||||||
|
|
||||||
@xfailif_no_symlink
|
@xfailif_no_symlink
|
||||||
def test_matches_broken_symlink(tmpdir): # pramga: no cover (non-windows)
|
def test_matches_broken_symlink(tmpdir): # pragma: no cover (non-windows)
|
||||||
with tmpdir.as_cwd():
|
with tmpdir.as_cwd():
|
||||||
os.symlink('does-not-exist', 'link')
|
os.symlink('does-not-exist', 'link')
|
||||||
ret = _filter_by_include_exclude({'link'}, '', '^$')
|
ret = _filter_by_include_exclude({'link'}, '', '^$')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue