Fix case of converting a string with str().

This commit is contained in:
pentarctagon 2019-12-05 19:36:55 -06:00
parent 504f138e6c
commit 38a49ad068
No known key found for this signature in database
GPG Key ID: 29E48D667D52CCF3

View File

@ -140,7 +140,7 @@ class WesnothRunner:
# for now just create a result so that this can be handled
# by the same code path as other statuses.
res = subprocess.CompletedProcess(args, UnitTestResult.TIMEOUT.value,
stderr = "Timed out (killed by Python timeout implementation)")
stderr = b"Timed out (killed by Python timeout implementation)")
if self.verbose > 1:
print("Result:", res.returncode, "\n", res.stderr)
if res.returncode < 0: