mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-04-14 17:41:45 +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,
|
stdout=subprocess.PIPE,
|
||||||
stderr=subprocess.PIPE,
|
stderr=subprocess.PIPE,
|
||||||
)
|
)
|
||||||
assert ret == (
|
assert ret == (popen_mock.return_value.returncode, 'stdout', 'stderr')
|
||||||
popen_mock.return_value.returncode,
|
|
||||||
popen_mock.return_value.communicate.return_value[0],
|
|
||||||
popen_mock.return_value.communicate.return_value[1],
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
PATH_TESTS = (
|
PATH_TESTS = (
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue