mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-05-17 23:56:39 +00:00
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:
parent
50171df26c
commit
33337eb860
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user