mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
fix symlink test for windows
This commit is contained in:
parent
f15cfbb208
commit
e6c9b04386
1 changed files with 1 additions and 1 deletions
|
|
@ -966,7 +966,7 @@ def test_classifier_does_not_normalize_backslashes_non_windows(tmpdir):
|
|||
|
||||
def test_classifier_empty_types_or(tmpdir):
|
||||
tmpdir.join('bar').ensure()
|
||||
tmpdir.join('foo').mksymlinkto('bar')
|
||||
os.symlink(tmpdir.join('bar'), tmpdir.join('foo'))
|
||||
with tmpdir.as_cwd():
|
||||
classifier = Classifier(('foo', 'bar'))
|
||||
for_symlink = classifier.by_types(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue