mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-18 22:35:39 +01:00
Merge bitcoin/bitcoin#27280: test: Fix TypeError (expected str instance, bytes found) in wait_for_debug_log
33337eb860test: Fix TypeError in wait_for_debug_log (MarcoFalke) Pull request description: ACKs for top commit: davidgumberg: tACK33337eb860Tree-SHA512: e641f23f0adc074d12b0ee10cab5845c16f3ac2858e42f895c69857c375fcb15c31bc1c9476bf2b6e2b49d0d2db4944687733da16d4a464152ae3323cbc6ca68
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user