test_randomtrackingdict: revert bytes to string for python3

g1itch/refactoring-sql
Dmitri Bogomolov 3 years ago
parent da8bd36614
commit 5976a449e2
Signed by untrusted user: g1itch
GPG Key ID: 720A756F18DEED13

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

Loading…
Cancel
Save