mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Check bytes for Python 3.
This commit is contained in:
parent
4640dc7b4a
commit
a8b298799c
1 changed files with 1 additions and 1 deletions
|
|
@ -792,4 +792,4 @@ def test_args_hook_only(cap_out, store, repo_with_passing_hook):
|
||||||
repo_with_passing_hook,
|
repo_with_passing_hook,
|
||||||
run_opts(hook='do_not_commit'),
|
run_opts(hook='do_not_commit'),
|
||||||
)
|
)
|
||||||
assert 'flake8' not in printed
|
assert b'flake8' not in printed
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue