python3.6 tests pass again

This commit is contained in:
Lex Berezhny 2018-11-04 01:42:27 -05:00
parent c91c69540b
commit ae8fece9bb
8 changed files with 10 additions and 9 deletions

View file

@ -23,6 +23,8 @@ jobs:
install:
- pip install tox-travis
script: tox
- <<: *tests
python: "3.6"
- <<: *tests
env: TESTTYPE=integration

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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):

View file

@ -1,6 +1,6 @@
import time
import torba.server.util as util
from torba.server import util
def sessions_lines(data):

View file

@ -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 =