mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-12 04:42:36 -03:00
[tests] remove unused imports from utils.py
This commit is contained in:
parent
90a002ea64
commit
37065d2ed2
3 changed files with 6 additions and 6 deletions
|
@ -15,6 +15,10 @@ mine a further 143 blocks (LOCKED_IN)
|
||||||
test that enforcement has not triggered (which triggers ACTIVE)
|
test that enforcement has not triggered (which triggers ACTIVE)
|
||||||
test that enforcement has triggered
|
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.test_framework import ComparisonTestFramework
|
||||||
from test_framework.util import *
|
from test_framework.util import *
|
||||||
|
@ -22,9 +26,6 @@ from test_framework.mininode import CTransaction, NetworkThread
|
||||||
from test_framework.blocktools import create_coinbase, create_block
|
from test_framework.blocktools import create_coinbase, create_block
|
||||||
from test_framework.comptool import TestInstance, TestManager
|
from test_framework.comptool import TestInstance, TestManager
|
||||||
from test_framework.script import CScript, OP_1NEGATE, OP_CHECKSEQUENCEVERIFY, OP_DROP
|
from test_framework.script import CScript, OP_1NEGATE, OP_CHECKSEQUENCEVERIFY, OP_DROP
|
||||||
from io import BytesIO
|
|
||||||
import time
|
|
||||||
import itertools
|
|
||||||
|
|
||||||
class BIP9SoftForksTest(ComparisonTestFramework):
|
class BIP9SoftForksTest(ComparisonTestFramework):
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
"""Helpful routines for regression testing."""
|
"""Helpful routines for regression testing."""
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import sys
|
|
||||||
|
|
||||||
from binascii import hexlify, unhexlify
|
from binascii import hexlify, unhexlify
|
||||||
from base64 import b64encode
|
from base64 import b64encode
|
||||||
|
@ -13,7 +12,6 @@ from decimal import Decimal, ROUND_DOWN
|
||||||
import json
|
import json
|
||||||
import http.client
|
import http.client
|
||||||
import random
|
import random
|
||||||
import shutil
|
|
||||||
import subprocess
|
import subprocess
|
||||||
import tempfile
|
import tempfile
|
||||||
import time
|
import time
|
||||||
|
|
|
@ -30,10 +30,11 @@ confirm 1/2/3/4 balances are same as before.
|
||||||
Shutdown again, restore using importwallet,
|
Shutdown again, restore using importwallet,
|
||||||
and confirm again balances are correct.
|
and confirm again balances are correct.
|
||||||
"""
|
"""
|
||||||
|
from random import randint
|
||||||
|
import shutil
|
||||||
|
|
||||||
from test_framework.test_framework import BitcoinTestFramework
|
from test_framework.test_framework import BitcoinTestFramework
|
||||||
from test_framework.util import *
|
from test_framework.util import *
|
||||||
from random import randint
|
|
||||||
|
|
||||||
class WalletBackupTest(BitcoinTestFramework):
|
class WalletBackupTest(BitcoinTestFramework):
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue