Skip to content

Commit

Permalink
[tests] remove unused imports from utils.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jnewbery committed Jun 29, 2017
1 parent 90a002e commit 37065d2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
7 changes: 4 additions & 3 deletions test/functional/bip9-softforks.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,17 @@
test that enforcement has not triggered (which triggers ACTIVE)
test that enforcement has triggered
"""
from io import BytesIO
import shutil
import time
import itertools

from test_framework.test_framework import ComparisonTestFramework
from test_framework.util import *
from test_framework.mininode import CTransaction, NetworkThread
from test_framework.blocktools import create_coinbase, create_block
from test_framework.comptool import TestInstance, TestManager
from test_framework.script import CScript, OP_1NEGATE, OP_CHECKSEQUENCEVERIFY, OP_DROP
from io import BytesIO
import time
import itertools

class BIP9SoftForksTest(ComparisonTestFramework):

Expand Down
2 changes: 0 additions & 2 deletions test/functional/test_framework/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,13 @@
"""Helpful routines for regression testing."""

import os
import sys

from binascii import hexlify, unhexlify
from base64 import b64encode
from decimal import Decimal, ROUND_DOWN
import json
import http.client
import random
import shutil
import subprocess
import tempfile
import time
Expand Down
3 changes: 2 additions & 1 deletion test/functional/walletbackup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,11 @@
Shutdown again, restore using importwallet,
and confirm again balances are correct.
"""
from random import randint
import shutil

from test_framework.test_framework import BitcoinTestFramework
from test_framework.util import *
from random import randint

class WalletBackupTest(BitcoinTestFramework):

Expand Down

0 comments on commit 37065d2

Please sign in to comment.