forked from LBRYCommunity/lbry-sdk
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:
|
install:
|
||||||
- pip install tox-travis
|
- pip install tox-travis
|
||||||
script: tox
|
script: tox
|
||||||
|
- <<: *tests
|
||||||
|
python: "3.6"
|
||||||
- <<: *tests
|
- <<: *tests
|
||||||
env: TESTTYPE=integration
|
env: TESTTYPE=integration
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ from struct import pack, unpack
|
||||||
import attr
|
import attr
|
||||||
from aiorpcx import run_in_thread, sleep
|
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.hash import hash_to_hex_str, HASHX_LEN
|
||||||
from torba.server.merkle import Merkle, MerkleCache
|
from torba.server.merkle import Merkle, MerkleCache
|
||||||
from torba.server.util import formatted_time
|
from torba.server.util import formatted_time
|
||||||
|
|
|
@ -15,7 +15,7 @@ import time
|
||||||
from collections import defaultdict
|
from collections import defaultdict
|
||||||
from functools import partial
|
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.util import pack_be_uint16, unpack_be_uint16_from
|
||||||
from torba.server.hash import hash_to_hex_str, HASHX_LEN
|
from torba.server.hash import hash_to_hex_str, HASHX_LEN
|
||||||
|
|
||||||
|
|
|
@ -27,8 +27,8 @@
|
||||||
|
|
||||||
from ipaddress import ip_address
|
from ipaddress import ip_address
|
||||||
|
|
||||||
|
from torba.server import util
|
||||||
from torba.server.util import cachedproperty
|
from torba.server.util import cachedproperty
|
||||||
import torba.server.util as util
|
|
||||||
|
|
||||||
from typing import Dict
|
from typing import Dict
|
||||||
|
|
||||||
|
|
|
@ -26,11 +26,10 @@ from aiorpcx import (
|
||||||
)
|
)
|
||||||
|
|
||||||
import torba
|
import torba
|
||||||
import torba.server.text as text
|
from torba.server import text
|
||||||
import torba.server.util as util
|
from torba.server import util
|
||||||
from torba.server.hash import (sha256, hash_to_hex_str, hex_str_to_hash,
|
from torba.server.hash import (sha256, hash_to_hex_str, hex_str_to_hash,
|
||||||
HASHX_LEN, Base58Error)
|
HASHX_LEN, Base58Error)
|
||||||
from torba.server.peer import Peer
|
|
||||||
from torba.server.daemon import DaemonError
|
from torba.server.daemon import DaemonError
|
||||||
from torba.server.peers import PeerManager
|
from torba.server.peers import PeerManager
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
import os
|
import os
|
||||||
from functools import partial
|
from functools import partial
|
||||||
|
|
||||||
import torba.server.util as util
|
from torba.server import util
|
||||||
|
|
||||||
|
|
||||||
def db_class(name):
|
def db_class(name):
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import time
|
import time
|
||||||
|
|
||||||
import torba.server.util as util
|
from torba.server import util
|
||||||
|
|
||||||
|
|
||||||
def sessions_lines(data):
|
def sessions_lines(data):
|
||||||
|
|
2
tox.ini
2
tox.ini
|
@ -1,6 +1,6 @@
|
||||||
[tox]
|
[tox]
|
||||||
#envlist = unit,integration-{torba.coin.bitcoincash,torba.coin.bitcoinsegwit}
|
#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]
|
[travis:env]
|
||||||
TESTTYPE =
|
TESTTYPE =
|
||||||
|
|
Loading…
Add table
Reference in a new issue