From f09752cac1ace14fbcd44a7efafd095291d8417e Mon Sep 17 00:00:00 2001 From: Kittywhiskers Van Gogh <63189531+kwvg@users.noreply.github.com> Date: Sat, 5 Oct 2024 07:59:53 +0000 Subject: [PATCH] merge bitcoin#27280: Fix TypeError (expected str instance, bytes found) in wait_for_debug_log --- test/functional/test_framework/test_node.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/functional/test_framework/test_node.py b/test/functional/test_framework/test_node.py index 2055f62c48..e69781d346 100755 --- a/test/functional/test_framework/test_node.py +++ b/test/functional/test_framework/test_node.py @@ -468,7 +468,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