Skip to content

Commit 37065d2

Browse files
committed
[tests] remove unused imports from utils.py
1 parent 90a002e commit 37065d2

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

test/functional/bip9-softforks.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,17 @@
1515
test that enforcement has not triggered (which triggers ACTIVE)
1616
test that enforcement has triggered
1717
"""
18+
from io import BytesIO
19+
import shutil
20+
import time
21+
import itertools
1822

1923
from test_framework.test_framework import ComparisonTestFramework
2024
from test_framework.util import *
2125
from test_framework.mininode import CTransaction, NetworkThread
2226
from test_framework.blocktools import create_coinbase, create_block
2327
from test_framework.comptool import TestInstance, TestManager
2428
from test_framework.script import CScript, OP_1NEGATE, OP_CHECKSEQUENCEVERIFY, OP_DROP
25-
from io import BytesIO
26-
import time
27-
import itertools
2829

2930
class BIP9SoftForksTest(ComparisonTestFramework):
3031

test/functional/test_framework/util.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,13 @@
55
"""Helpful routines for regression testing."""
66

77
import os
8-
import sys
98

109
from binascii import hexlify, unhexlify
1110
from base64 import b64encode
1211
from decimal import Decimal, ROUND_DOWN
1312
import json
1413
import http.client
1514
import random
16-
import shutil
1715
import subprocess
1816
import tempfile
1917
import time

test/functional/walletbackup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,11 @@
3030
Shutdown again, restore using importwallet,
3131
and confirm again balances are correct.
3232
"""
33+
from random import randint
34+
import shutil
3335

3436
from test_framework.test_framework import BitcoinTestFramework
3537
from test_framework.util import *
36-
from random import randint
3738

3839
class WalletBackupTest(BitcoinTestFramework):
3940

0 commit comments

Comments
 (0)