mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 16:24:40 +04:00
Fix test
This commit is contained in:
parent
54b2d982f3
commit
f404eb5735
1 changed files with 1 additions and 1 deletions
|
|
@ -113,6 +113,6 @@ def test_rmtree_read_only_directories(tmpdir):
|
|||
def test_cmd_output_utf8(fn):
|
||||
"""Makes sure `cmd_output_*` works if the command being
|
||||
run outputs UTF8 characters."""
|
||||
ret, out, _ = fn(f'{sys.executable}', '-c', 'print("❤")')
|
||||
ret, out, _ = fn(f'{sys.executable}', '-c', 'print("❤")', check=False)
|
||||
assert ret == 0
|
||||
assert out.strip().decode() == '❤'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue