From 69bcfcad8c3d1464352ba58bad38225cbd195f18 Mon Sep 17 00:00:00 2001 From: Hodlinator <172445034+hodlinator@users.noreply.github.com> Date: Wed, 3 Dec 2025 14:35:37 +0100 Subject: [PATCH] fix(qa-tests): Bring back decoding of exception field Partial revert of fab085c15f7221986f73af7e05e799edf3eadaf0 subprocess.run(..., text=True) is not sufficient to make the TimeoutExpired exception stop using byte buffers. This is a known issue, see: https://github.com/python/cpython/issues/87597 --- test/functional/feature_framework_startup_failures.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/functional/feature_framework_startup_failures.py b/test/functional/feature_framework_startup_failures.py index 43dbeae7c5..1fdeb08303 100755 --- a/test/functional/feature_framework_startup_failures.py +++ b/test/functional/feature_framework_startup_failures.py @@ -49,7 +49,7 @@ class FeatureFrameworkStartupFailures(BitcoinTestFramework): print("Unexpected child process timeout!\n" "WARNING: Timeouts like this halt execution of TestNode logic, " "meaning dangling bitcoind processes are to be expected.\n" - f"\n{e.output}\n", + f"\n{e.output.decode("utf-8")}\n", file=sys.stderr) raise