Skip to content

Commit 79b2e46

Browse files
JanCahanyalldawson
authored andcommitted
if variable out is in bytes convert to string
1 parent 56240ef commit 79b2e46

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.docker/qgis_resources/test_runner/qgis_testrunner.py

+2
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ def __get_test_function(test_module_name):
112112
command_line = ' '.join(args)
113113
print("QGIS Test Runner - launching QGIS as %s ..." % command_line)
114114
out, returncode = run("sh -c " + quote(command_line), withexitstatus=1)
115+
if isinstance(out, bytes):
116+
out = out.decode("utf-8")
115117
assert returncode is not None
116118
print("QGIS Test Runner - QGIS exited.")
117119
ok = out.find('(failures=') < 0 and \

0 commit comments

Comments
 (0)