ported test_randomtrackingdict to python3

This commit is contained in:
cis-kuldeep 2021-05-25 22:40:50 +05:30
parent 4239e34bf7
commit 84331dcced
3 changed files with 4 additions and 6 deletions

View File

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

View File

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

View File

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