Clean up imports to be pyflakes-checkable. fixes #2450

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
Daira Hopwood
2017-06-20 21:09:33 +01:00
parent d52ac0d498
commit aff0bf7fa1
50 changed files with 215 additions and 167 deletions

View File

@@ -8,19 +8,10 @@
#
from test_framework.test_framework import BitcoinTestFramework
from test_framework.util import *
import zmq
import binascii
import struct
from test_framework.util import assert_equal, bytes_to_hex_str, start_nodes
try:
import http.client as httplib
except ImportError:
import httplib
try:
import urllib.parse as urlparse
except ImportError:
import urlparse
import zmq
import struct
class ZMQTest (BitcoinTestFramework):