Commit f7897182 authored by Mattia Rizzolo's avatar Mattia Rizzolo

tests/test_binary: don't capture unused output from subprocess.

Fixes test on stretch-backports where subprocess.check_call() doesn't
know of the 'encoding' argument.

Gbp-Dch: Short
Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <>
parent 2eb16112
......@@ -145,9 +145,8 @@ def test_with_compare_details_and_failed_process():
class MockFile(FilesystemFile):
def compare_details(self, other, source=None):
['sh', '-c', 'echo "%s"; exit 42' % output],
raise Exception('should not be run')
difference = MockFile(TEST_FILE1_PATH).compare(MockFile(TEST_FILE2_PATH))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment