diff --git a/test/functional/feature_bip68_sequence.py b/test/functional/feature_bip68_sequence.py --- a/test/functional/feature_bip68_sequence.py +++ b/test/functional/feature_bip68_sequence.py @@ -12,7 +12,7 @@ from test_framework.script import * from test_framework.mininode import * from test_framework.blocktools import * -from test_framework.txtools import pad_tx, pad_raw_tx +from test_framework.txtools import pad_tx SEQUENCE_LOCKTIME_DISABLE_FLAG = (1 << 31) SEQUENCE_LOCKTIME_TYPE_FLAG = (1 << 22) # this means use time (0 means height) diff --git a/test/functional/feature_minchainwork.py b/test/functional/feature_minchainwork.py --- a/test/functional/feature_minchainwork.py +++ b/test/functional/feature_minchainwork.py @@ -18,7 +18,7 @@ import time from test_framework.test_framework import BitcoinTestFramework -from test_framework.util import sync_blocks, connect_nodes, assert_equal +from test_framework.util import connect_nodes, assert_equal # 2 hashes required per regtest block (with no difficulty adjustment) REGTEST_WORK_PER_BLOCK = 2 diff --git a/test/functional/mempool_limit.py b/test/functional/mempool_limit.py --- a/test/functional/mempool_limit.py +++ b/test/functional/mempool_limit.py @@ -6,7 +6,6 @@ # Test mempool limiting together/eviction with the wallet from test_framework.test_framework import BitcoinTestFramework -from test_framework.util import * from test_framework.blocktools import send_big_transactions, create_confirmed_utxos diff --git a/test/functional/p2p_fingerprint.py b/test/functional/p2p_fingerprint.py --- a/test/functional/p2p_fingerprint.py +++ b/test/functional/p2p_fingerprint.py @@ -22,10 +22,7 @@ wait_until, ) from test_framework.test_framework import BitcoinTestFramework -from test_framework.util import ( - assert_equal, - p2p_port, -) +from test_framework.util import assert_equal class P2PFingerprintTest(BitcoinTestFramework):