run_wml_tests: make sure the fake timed-out process has an output stream even if it's empty
This commit is contained in:
parent
f382eefc33
commit
adc8dd492c
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ class WesnothRunner:
|
|||
res = run_with_rerun_for_sdl_video(args, timeout)
|
||||
except subprocess.TimeoutExpired as t:
|
||||
print("Timed out (killed by Python timeout implementation)")
|
||||
res = subprocess.CompletedProcess(args, UnitTestResult.TIMEOUT.value, t.output)
|
||||
res = subprocess.CompletedProcess(args, UnitTestResult.TIMEOUT.value, t.output or b'')
|
||||
if self.verbose > 0:
|
||||
print(res.stdout.decode('utf-8'))
|
||||
if self.verbose > 1:
|
||||
|
|
Loading…
Add table
Reference in a new issue