From 5976a449e20acad1df28b9e199022308301bc42c Mon Sep 17 00:00:00 2001 From: Dmitri Bogomolov <4glitch@gmail.com> Date: Tue, 2 Feb 2021 20:24:50 +0200 Subject: [PATCH] test_randomtrackingdict: revert bytes to string for python3 --- src/tests/test_randomtrackingdict.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/test_randomtrackingdict.py b/src/tests/test_randomtrackingdict.py index 40d2e01b..bb66c0e2 100644 --- a/src/tests/test_randomtrackingdict.py +++ b/src/tests/test_randomtrackingdict.py @@ -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