(store, local_python_config)
| 350 | |
| 351 | |
| 352 | def test_local_python_repo(store, local_python_config): |
| 353 | hook = _get_hook(local_python_config, store, 'foo') |
| 354 | # language_version should have been adjusted to the interpreter version |
| 355 | assert hook.language_version != C.DEFAULT |
| 356 | ret, out = _hook_run(hook, ('filename',), color=False) |
| 357 | assert ret == 0 |
| 358 | assert out == b"['filename']\nHello World\n" |
| 359 | |
| 360 | |
| 361 | def test_default_language_version(store, local_python_config): |