Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 11568ca

Browse files
authored
Merge pull request #1637 from pre-commit/conda_test
use implementation-agnostic conda package for test
2 parents 202f0bb + 32a286d commit 11568ca

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tests/repository_test.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ def test_conda_with_additional_dependencies_hook(tempdir_factory, store):
9494
config_kwargs={
9595
'hooks': [{
9696
'id': 'additional-deps',
97-
'args': ['-c', 'import mccabe; print("OK")'],
98-
'additional_dependencies': ['mccabe'],
97+
'args': ['-c', 'import tzdata; print("OK")'],
98+
'additional_dependencies': ['python-tzdata'],
9999
}],
100100
},
101101
)
@@ -109,8 +109,8 @@ def test_local_conda_additional_dependencies(store):
109109
'name': 'local-conda',
110110
'entry': 'python',
111111
'language': 'conda',
112-
'args': ['-c', 'import mccabe; print("OK")'],
113-
'additional_dependencies': ['mccabe'],
112+
'args': ['-c', 'import tzdata; print("OK")'],
113+
'additional_dependencies': ['python-tzdata'],
114114
}],
115115
}
116116
hook = _get_hook(config, store, 'local-conda')

0 commit comments

Comments
 (0)