test_randomtrackingdict: revert bytes to string for python3

This commit is contained in:
Dmitri Bogomolov 2021-02-02 20:24:50 +02:00 committed by Muzahid
parent eede298a22
commit ea6f23e596
Signed by untrusted user: cis-muzahid
GPG Key ID: 1DC85E7D3AB613EA

View File

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