diff options
| author | MarcoFalke <[email protected]> | 2016-08-22 10:20:43 +0200 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2016-08-22 10:21:00 +0200 |
| commit | 760741a00833876976389ed7a6b73f36ee5b4c13 (patch) | |
| tree | 1db2efcb02780c58480333c7704c58d10bd85186 | |
| parent | Merge #8548: [wallet] Use __func__ to get function name for output printing (diff) | |
| parent | [qa] Remove unused code (diff) | |
| download | discoin-760741a00833876976389ed7a6b73f36ee5b4c13.tar.xz discoin-760741a00833876976389ed7a6b73f36ee5b4c13.zip | |
Merge #8551: [qa] Remove unused code
faaec13 [qa] Remove unused code (MarcoFalke)
| -rwxr-xr-x | qa/pull-tester/rpc-tests.py | 2 | ||||
| -rwxr-xr-x | qa/rpc-tests/importprunedfunds.py | 2 | ||||
| -rwxr-xr-x | qa/rpc-tests/rpcbind_test.py | 6 | ||||
| -rwxr-xr-x | qa/rpc-tests/segwit.py | 2 |
4 files changed, 3 insertions, 9 deletions
diff --git a/qa/pull-tester/rpc-tests.py b/qa/pull-tester/rpc-tests.py index a0951f31a..daaa7782f 100755 --- a/qa/pull-tester/rpc-tests.py +++ b/qa/pull-tester/rpc-tests.py @@ -77,8 +77,6 @@ for arg in sys.argv[1:]: #Set env vars if "BITCOIND" not in os.environ: os.environ["BITCOIND"] = BUILDDIR + '/src/bitcoind' + EXEEXT -if "BITCOINCLI" not in os.environ: - os.environ["BITCOINCLI"] = BUILDDIR + '/src/bitcoin-cli' + EXEEXT if EXEEXT == ".exe" and "-win" not in opts: # https://github.com/bitcoin/bitcoin/commit/d52802551752140cf41f0d9a225a43e84404d3e9 diff --git a/qa/rpc-tests/importprunedfunds.py b/qa/rpc-tests/importprunedfunds.py index d86f51b7f..eb3c11b4d 100755 --- a/qa/rpc-tests/importprunedfunds.py +++ b/qa/rpc-tests/importprunedfunds.py @@ -5,7 +5,7 @@ from test_framework.test_framework import BitcoinTestFramework from test_framework.util import * -import decimal + class ImportPrunedFundsTest(BitcoinTestFramework): diff --git a/qa/rpc-tests/rpcbind_test.py b/qa/rpc-tests/rpcbind_test.py index bf1cc8712..3ac32140b 100755 --- a/qa/rpc-tests/rpcbind_test.py +++ b/qa/rpc-tests/rpcbind_test.py @@ -5,13 +5,11 @@ # Test for -rpcbind, as well as -rpcallowip and -rpcconnect -import tempfile -import traceback - from test_framework.test_framework import BitcoinTestFramework from test_framework.util import * from test_framework.netutil import * + class RPCBindTest(BitcoinTestFramework): def __init__(self): @@ -109,4 +107,4 @@ class RPCBindTest(BitcoinTestFramework): pass if __name__ == '__main__': - RPCBindTest ().main () + RPCBindTest().main() diff --git a/qa/rpc-tests/segwit.py b/qa/rpc-tests/segwit.py index da82b0990..745a1d475 100755 --- a/qa/rpc-tests/segwit.py +++ b/qa/rpc-tests/segwit.py @@ -10,8 +10,6 @@ from test_framework.test_framework import BitcoinTestFramework from test_framework.util import * from test_framework.mininode import sha256, ripemd160 -import os -import shutil NODE_0 = 0 NODE_1 = 1 |