mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
xfail default language version check for azure pipelines
This commit is contained in:
parent
e08d373be3
commit
071cc422c7
1 changed files with 5 additions and 0 deletions
|
|
@ -4,6 +4,7 @@ from __future__ import unicode_literals
|
|||
import os.path
|
||||
import re
|
||||
import shutil
|
||||
import sys
|
||||
|
||||
import cfgv
|
||||
import mock
|
||||
|
|
@ -717,6 +718,10 @@ def local_python_config():
|
|||
return {'repo': 'local', 'hooks': hooks}
|
||||
|
||||
|
||||
@pytest.mark.xfail( # pragma: windows no cover
|
||||
sys.platform == 'win32',
|
||||
reason='microsoft/azure-pipelines-image-generation#989',
|
||||
)
|
||||
def test_local_python_repo(store, local_python_config):
|
||||
hook = _get_hook(local_python_config, store, 'foo')
|
||||
# language_version should have been adjusted to the interpreter version
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue