Remove unused Python imports

This commit is contained in:
practicalswift 2017-01-10 23:30:14 +01:00
parent 5754e0341b
commit 95bab821b3
10 changed files with 1 additions and 17 deletions

View file

@ -15,7 +15,7 @@
# 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.
from __future__ import division,print_function,unicode_literals
import os,sys
import os
from sys import stdin,stdout,stderr
import argparse
import subprocess

View file

@ -7,7 +7,6 @@ Test script for security-check.py
'''
from __future__ import division,print_function
import subprocess
import sys
import unittest
def write_testcode(filename):

View file

@ -8,16 +8,10 @@
#
from __future__ import print_function, division
try: # Python 3
import http.client as httplib
except ImportError: # Python 2
import httplib
import json
import struct
import re
import os
import os.path
import base64
import sys
import hashlib
import datetime

View file

@ -13,7 +13,6 @@ try: # Python 3
except ImportError: # Python 2
import httplib
import json
import struct
import re
import base64
import sys

View file

@ -3,7 +3,6 @@
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
import array
import binascii
import zmq
import struct

View file

@ -10,7 +10,6 @@
from test_framework.test_framework import BitcoinTestFramework
from test_framework.util import *
import http.client
import urllib.parse
class NodeHandlingTest (BitcoinTestFramework):

View file

@ -6,7 +6,6 @@
from test_framework.mininode import *
from test_framework.test_framework import BitcoinTestFramework
from test_framework.util import *
import time
class TestNode(NodeConnCB):
def __init__(self):

View file

@ -12,9 +12,6 @@ from test_framework.util import *
import zmq
import struct
import http.client
import urllib.parse
class ZMQTest (BitcoinTestFramework):
def __init__(self):

View file

@ -8,7 +8,6 @@ they can be picked up by Qt linguist.
'''
from __future__ import division,print_function,unicode_literals
from subprocess import Popen, PIPE
import glob
import operator
import os
import sys

View file

@ -5,7 +5,6 @@
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
from __future__ import division,print_function,unicode_literals
import os
import sys
import bctest
import buildenv
import argparse