test_randomtrackingdict: revert bytes to string for python3

This commit is contained in:
Dmitri Bogomolov 2021-02-02 20:24:50 +02:00
parent da8bd36614
commit 5976a449e2
Signed by untrusted user: g1itch
GPG Key ID: 720A756F18DEED13
1 changed files with 1 additions and 1 deletions

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