mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Fix Py3
This commit is contained in:
parent
105b832585
commit
681ddf99b7
1 changed files with 1 additions and 5 deletions
|
|
@ -64,11 +64,7 @@ def test_run_substitutes_prefix(popen_mock, makedirs_mock):
|
|||
stdout=subprocess.PIPE,
|
||||
stderr=subprocess.PIPE,
|
||||
)
|
||||
assert ret == (
|
||||
popen_mock.return_value.returncode,
|
||||
popen_mock.return_value.communicate.return_value[0],
|
||||
popen_mock.return_value.communicate.return_value[1],
|
||||
)
|
||||
assert ret == (popen_mock.return_value.returncode, 'stdout', 'stderr')
|
||||
|
||||
|
||||
PATH_TESTS = (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue