mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-04 09:41:52 +01:00
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-
This commit is contained in:
@@ -155,4 +155,4 @@ class WalletPruningTest(BitcoinTestFramework):
|
||||
self.test_wallet_import_pruned_with_missing_blocks(wallet_birthheight_1)
|
||||
|
||||
if __name__ == '__main__':
|
||||
WalletPruningTest().main()
|
||||
WalletPruningTest(__file__).main()
|
||||
|
||||
Reference in New Issue
Block a user