Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 681ddf9

Browse files
committed
Fix Py3
1 parent 105b832 commit 681ddf9

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

tests/prefixed_command_runner_test.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,7 @@ def test_run_substitutes_prefix(popen_mock, makedirs_mock):
6464
stdout=subprocess.PIPE,
6565
stderr=subprocess.PIPE,
6666
)
67-
assert ret == (
68-
popen_mock.return_value.returncode,
69-
popen_mock.return_value.communicate.return_value[0],
70-
popen_mock.return_value.communicate.return_value[1],
71-
)
67+
assert ret == (popen_mock.return_value.returncode, 'stdout', 'stderr')
7268

7369

7470
PATH_TESTS = (

0 commit comments

Comments
 (0)