ported test_randomtrackingdict to python3
This commit is contained in:
parent
4239e34bf7
commit
84331dcced
|
@ -4,7 +4,8 @@ Track randomize ordered dict
|
||||||
from threading import RLock
|
from threading import RLock
|
||||||
from time import time
|
from time import time
|
||||||
|
|
||||||
import helper_random
|
# import helper_random
|
||||||
|
from pybitmessage import helper_random
|
||||||
|
|
||||||
|
|
||||||
class RandomTrackingDict(object):
|
class RandomTrackingDict(object):
|
||||||
|
|
|
@ -5,9 +5,9 @@ Tests using API.
|
||||||
import base64
|
import base64
|
||||||
import json
|
import json
|
||||||
import time
|
import time
|
||||||
from .common import skip_python3
|
# from .common import skip_python3
|
||||||
|
|
||||||
skip_python3()
|
# skip_python3()
|
||||||
|
|
||||||
try: # nosec
|
try: # nosec
|
||||||
from xmlrpclib import ServerProxy, ProtocolError
|
from xmlrpclib import ServerProxy, ProtocolError
|
||||||
|
|
|
@ -5,9 +5,6 @@ import random
|
||||||
import unittest
|
import unittest
|
||||||
|
|
||||||
from time import time
|
from time import time
|
||||||
from .common import skip_python3
|
|
||||||
|
|
||||||
skip_python3()
|
|
||||||
|
|
||||||
|
|
||||||
class TestRandomTrackingDict(unittest.TestCase):
|
class TestRandomTrackingDict(unittest.TestCase):
|
||||||
|
|
Reference in New Issue
Block a user