test_randomtrackingdict: revert bytes to string for python3
This commit is contained in:
parent
da8bd36614
commit
5976a449e2
|
@ -15,7 +15,7 @@ class TestRandomTrackingDict(unittest.TestCase):
|
|||
@staticmethod
|
||||
def randString():
|
||||
"""helper function for tests, generates a random string"""
|
||||
retval = b''
|
||||
retval = ''
|
||||
for _ in range(32):
|
||||
retval += chr(random.randint(0, 255))
|
||||
return retval
|
||||
|
|
Reference in New Issue
Block a user