test: Fix TypeError in wait_for_debug_log
Traceback:
print_log = " - " + "\n - ".join(log.splitlines())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: sequence item 0: expected str instance, bytes found
This commit is contained in:
1 file changed
+1
-1
@@ -469,7 +469,7 @@ class TestNode():
|
|||||||
return
|
return
|
||||||
|
|
||||||
if time.time() >= time_end:
|
if time.time() >= time_end:
|
||||||
print_log = " - " + "\n - ".join(log.splitlines())
|
print_log = " - " + "\n - ".join(log.decode("utf8", errors="replace").splitlines())
|
||||||
break
|
break
|
||||||
|
|
||||||
# No sleep here because we want to detect the message fragment as fast as
|
# No sleep here because we want to detect the message fragment as fast as
|
||||||
|
|||||||
Reference in new issue
Block a user