Skip to content

Commit

Permalink
Merge bitcoin#27280: test: Fix TypeError (expected str instance, byte…
Browse files Browse the repository at this point in the history
…s found) in wait_for_debug_log

33337eb test: Fix TypeError in wait_for_debug_log (MarcoFalke)

Pull request description:

ACKs for top commit:
  davidgumberg:
    tACK bitcoin@33337eb

Tree-SHA512: e641f23f0adc074d12b0ee10cab5845c16f3ac2858e42f895c69857c375fcb15c31bc1c9476bf2b6e2b49d0d2db4944687733da16d4a464152ae3323cbc6ca68
  • Loading branch information
fanquake committed Mar 22, 2023
2 parents 34551cb + 33337eb commit 6e69fea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/functional/test_framework/test_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ def wait_for_debug_log(self, expected_msgs, timeout=60):
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
Expand Down

0 comments on commit 6e69fea

Please sign in to comment.