enabled python3
This commit is contained in:
parent
e1e23374ad
commit
48fd76d48b
|
@ -5,9 +5,14 @@ import logging
|
||||||
import os
|
import os
|
||||||
from struct import pack
|
from struct import pack
|
||||||
|
|
||||||
import paths
|
try:
|
||||||
from bmconfigparser import BMConfigParser
|
import paths
|
||||||
from state import shutdown
|
from bmconfigparser import BMConfigParser
|
||||||
|
from state import shutdown
|
||||||
|
except ImportError:
|
||||||
|
from pybitmessage import paths
|
||||||
|
from pybitmessage.bmconfigparser import BMConfigParser
|
||||||
|
from pybitmessage.state import shutdown
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import numpy
|
import numpy
|
||||||
|
|
|
@ -4,11 +4,6 @@ Tests for openclpow module
|
||||||
import hashlib
|
import hashlib
|
||||||
import unittest
|
import unittest
|
||||||
from struct import pack, unpack
|
from struct import pack, unpack
|
||||||
|
|
||||||
from .common import skip_python3
|
|
||||||
|
|
||||||
skip_python3() # noqa:E402
|
|
||||||
|
|
||||||
from pybitmessage import openclpow
|
from pybitmessage import openclpow
|
||||||
|
|
||||||
|
|
||||||
|
|
Reference in New Issue
Block a user