Skip to content

Commit

Permalink
Merge pull request #1717 from pre-commit/fix_test
Browse files Browse the repository at this point in the history
fix symlink test for windows
  • Loading branch information
asottile committed Nov 26, 2020
2 parents f15cfbb + e6c9b04 commit a82a79b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/commands/run_test.py
Expand Up @@ -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(
Expand Down

0 comments on commit a82a79b

Please sign in to comment.