From ed43ce57cce53612f13ac7c6db59fa7ac60e31c4 Mon Sep 17 00:00:00 2001 From: Hodlinator <172445034+hodlinator@users.noreply.github.com> Date: Mon, 26 Jan 2026 11:56:27 +0100 Subject: [PATCH] qa: Check for platform-independent part of error message On Windows one gets different exception messages depending on whether running a native build or cross build. --- test/functional/wallet_multiwallet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/functional/wallet_multiwallet.py b/test/functional/wallet_multiwallet.py index 76b78d6c85c..505138ebccb 100755 --- a/test/functional/wallet_multiwallet.py +++ b/test/functional/wallet_multiwallet.py @@ -327,7 +327,7 @@ class MultiWalletTest(BitcoinTestFramework): # should raise rpc error if wallet path can't be created err_code = -4 - assert_raises_rpc_error(err_code, "filesystem error:" if platform.system() != 'Windows' else "create_directories:", node.createwallet, "w8/bad") + assert_raises_rpc_error(err_code, "Wallet file verification failed. ", node.createwallet, "w8/bad") # Fail to create a wallet if it already exists. path = wallet_dir(node, "w2")