mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-08 03:59:18 +02:00
Merge bitcoin/bitcoin#27280: test: Fix TypeError (expected str instance, bytes found) in wait_for_debug_log
33337eb86028662e632107411efec1e63b1c01bf test: Fix TypeError in wait_for_debug_log (MarcoFalke)
Pull request description:
ACKs for top commit:
davidgumberg:
tACK 33337eb860
Tree-SHA512: e641f23f0adc074d12b0ee10cab5845c16f3ac2858e42f895c69857c375fcb15c31bc1c9476bf2b6e2b49d0d2db4944687733da16d4a464152ae3323cbc6ca68
This commit is contained in:
commit
6e69fead2b
@ -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…
x
Reference in New Issue
Block a user