mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Use python3.4 and 3.5 instead of 3.3 and 3.4
This commit is contained in:
parent
b81e489cb2
commit
a5f312e4e1
6 changed files with 6 additions and 7 deletions
|
|
@ -75,7 +75,7 @@ def test_additional_manifest_failing(obj):
|
|||
'name': 'b',
|
||||
'entry': 'c',
|
||||
'language': 'python',
|
||||
'language_version': 'python3.3',
|
||||
'language_version': 'python3.4',
|
||||
'files': r'\.py$',
|
||||
}],
|
||||
True,
|
||||
|
|
|
|||
|
|
@ -101,7 +101,7 @@ def test_switch_language_versions_doesnt_clobber(tempdir_factory, store):
|
|||
assert ret[1].replace(b'\r\n', b'\n') == expected_output
|
||||
|
||||
run_on_version('python3.4', b'3.4\n[]\nHello World\n')
|
||||
run_on_version('python3.3', b'3.3\n[]\nHello World\n')
|
||||
run_on_version('python3.5', b'3.5\n[]\nHello World\n')
|
||||
|
||||
|
||||
@pytest.mark.integration
|
||||
|
|
@ -110,7 +110,7 @@ def test_versioned_python_hook(tempdir_factory, store):
|
|||
tempdir_factory, store, 'python3_hooks_repo',
|
||||
'python3-hook',
|
||||
[os.devnull],
|
||||
b"3.3\n['" + five.to_bytes(os.devnull) + b"']\nHello World\n",
|
||||
b"3.5\n['" + five.to_bytes(os.devnull) + b"']\nHello World\n",
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue