Browse Source

Remove unused Python imports

0.15
practicalswift 7 years ago
parent
commit
0c60c63de0
  1. 2
      contrib/devtools/github-merge.py
  2. 2
      test/functional/blockchain.py
  3. 1
      test/functional/net.py
  4. 1
      test/functional/rpcnamedargs.py
  5. 1
      test/functional/signmessages.py
  6. 1
      test/functional/wallet-accounts.py
  7. 1
      test/functional/wallet-hd.py

2
contrib/devtools/github-merge.py

@ -15,7 +15,7 @@
# In case of a clean merge that is accepted by the user, the local branch with # In case of a clean merge that is accepted by the user, the local branch with
# name $BRANCH is overwritten with the merged result, and optionally pushed. # name $BRANCH is overwritten with the merged result, and optionally pushed.
from __future__ import division,print_function,unicode_literals from __future__ import division,print_function,unicode_literals
import os,sys import os
from sys import stdin,stdout,stderr from sys import stdin,stdout,stderr
import argparse import argparse
import hashlib import hashlib

2
test/functional/blockchain.py

@ -23,8 +23,6 @@ from test_framework.util import (
assert_raises_jsonrpc, assert_raises_jsonrpc,
assert_is_hex_string, assert_is_hex_string,
assert_is_hash_string, assert_is_hash_string,
start_nodes,
connect_nodes_bi,
) )

1
test/functional/net.py

@ -15,7 +15,6 @@ from test_framework.util import (
assert_raises_jsonrpc, assert_raises_jsonrpc,
connect_nodes_bi, connect_nodes_bi,
p2p_port, p2p_port,
start_nodes,
) )

1
test/functional/rpcnamedargs.py

@ -8,7 +8,6 @@ from test_framework.test_framework import BitcoinTestFramework
from test_framework.util import ( from test_framework.util import (
assert_equal, assert_equal,
assert_raises_jsonrpc, assert_raises_jsonrpc,
start_nodes,
) )

1
test/functional/signmessages.py

@ -5,7 +5,6 @@
"""Test RPC commands for signing and verifying messages.""" """Test RPC commands for signing and verifying messages."""
from test_framework.test_framework import BitcoinTestFramework from test_framework.test_framework import BitcoinTestFramework
from test_framework.util import *
class SignMessagesTest(BitcoinTestFramework): class SignMessagesTest(BitcoinTestFramework):

1
test/functional/wallet-accounts.py

@ -15,7 +15,6 @@ RPCs tested are:
from test_framework.test_framework import BitcoinTestFramework from test_framework.test_framework import BitcoinTestFramework
from test_framework.util import ( from test_framework.util import (
start_nodes,
assert_equal, assert_equal,
) )

1
test/functional/wallet-hd.py

@ -6,7 +6,6 @@
from test_framework.test_framework import BitcoinTestFramework from test_framework.test_framework import BitcoinTestFramework
from test_framework.util import ( from test_framework.util import (
start_nodes,
start_node, start_node,
assert_equal, assert_equal,
connect_nodes_bi, connect_nodes_bi,

Loading…
Cancel
Save