mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-05 14:06:27 -05: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
1 changed files with 1 additions and 1 deletions
|
@ -469,7 +469,7 @@ class TestNode():
|
|||
return
|
||||
|
||||
if time.time() >= time_end:
|
||||
print_log = " - " + "\n - ".join(log.splitlines())
|
||||
print_log = " - " + "\n - ".join(log.decode("utf8", errors="replace").splitlines())
|
||||
break
|
||||
|
||||
# No sleep here because we want to detect the message fragment as fast as
|
||||
|
|
Loading…
Add table
Reference in a new issue