python3.6 tests pass again
This commit is contained in:
parent
c91c69540b
commit
ae8fece9bb
8 changed files with 10 additions and 9 deletions
|
@ -23,6 +23,8 @@ jobs:
|
|||
install:
|
||||
- pip install tox-travis
|
||||
script: tox
|
||||
- <<: *tests
|
||||
python: "3.6"
|
||||
- <<: *tests
|
||||
env: TESTTYPE=integration
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ from struct import pack, unpack
|
|||
import attr
|
||||
from aiorpcx import run_in_thread, sleep
|
||||
|
||||
import torba.server.util as util
|
||||
from torba.server import util
|
||||
from torba.server.hash import hash_to_hex_str, HASHX_LEN
|
||||
from torba.server.merkle import Merkle, MerkleCache
|
||||
from torba.server.util import formatted_time
|
||||
|
|
|
@ -15,7 +15,7 @@ import time
|
|||
from collections import defaultdict
|
||||
from functools import partial
|
||||
|
||||
import torba.server.util as util
|
||||
from torba.server import util
|
||||
from torba.server.util import pack_be_uint16, unpack_be_uint16_from
|
||||
from torba.server.hash import hash_to_hex_str, HASHX_LEN
|
||||
|
||||
|
|
|
@ -27,8 +27,8 @@
|
|||
|
||||
from ipaddress import ip_address
|
||||
|
||||
from torba.server import util
|
||||
from torba.server.util import cachedproperty
|
||||
import torba.server.util as util
|
||||
|
||||
from typing import Dict
|
||||
|
||||
|
|
|
@ -26,11 +26,10 @@ from aiorpcx import (
|
|||
)
|
||||
|
||||
import torba
|
||||
import torba.server.text as text
|
||||
import torba.server.util as util
|
||||
from torba.server import text
|
||||
from torba.server import util
|
||||
from torba.server.hash import (sha256, hash_to_hex_str, hex_str_to_hash,
|
||||
HASHX_LEN, Base58Error)
|
||||
from torba.server.peer import Peer
|
||||
from torba.server.daemon import DaemonError
|
||||
from torba.server.peers import PeerManager
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
import os
|
||||
from functools import partial
|
||||
|
||||
import torba.server.util as util
|
||||
from torba.server import util
|
||||
|
||||
|
||||
def db_class(name):
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import time
|
||||
|
||||
import torba.server.util as util
|
||||
from torba.server import util
|
||||
|
||||
|
||||
def sessions_lines(data):
|
||||
|
|
2
tox.ini
2
tox.ini
|
@ -1,6 +1,6 @@
|
|||
[tox]
|
||||
#envlist = unit,integration-{torba.coin.bitcoincash,torba.coin.bitcoinsegwit}
|
||||
envlist = py37-unit,py37-integration-torba.coin.bitcoinsegwit
|
||||
envlist = py{37,36}-unit,py37-integration-torba.coin.bitcoinsegwit
|
||||
|
||||
[travis:env]
|
||||
TESTTYPE =
|
||||
|
|
Loading…
Reference in a new issue