From a0473442d1c22043f5a288bd9255c006fd85d947 Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Tue, 16 Jul 2024 22:05:14 +0100 Subject: scripted-diff: Add `__file__` argument to `BitcoinTestFramework.init()` -BEGIN VERIFY SCRIPT- sed -i -e 's/\s*().main\s*()/(__file__).main()/' $(git ls-files test/functional/*.py) sed -i -e 's/def __init__(self)/def __init__(self, test_file)/' test/functional/test_framework/test_framework.py -END VERIFY SCRIPT- --- test/functional/wallet_send.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/functional/wallet_send.py') diff --git a/test/functional/wallet_send.py b/test/functional/wallet_send.py index bbb0d658d9..2d0aad3b5d 100755 --- a/test/functional/wallet_send.py +++ b/test/functional/wallet_send.py @@ -612,4 +612,4 @@ class WalletSendTest(BitcoinTestFramework): if __name__ == '__main__': - WalletSendTest().main() + WalletSendTest(__file__).main() -- cgit v1.2.3