diff --git a/buildscripts/testclient.py b/buildscripts/testclient.py index 2071203b8..290d231be 100755 --- a/buildscripts/testclient.py +++ b/buildscripts/testclient.py @@ -294,7 +294,7 @@ def run(self): for test_func in (self.basic_repo_test, self.add_delegation_test, self.root_rotation_test): _, tempfile = mkstemp() with open(tempfile, 'wb') as handle: - handle.write(test_func.__name__ + "\n") + handle.write(bytes(str(test_func.__name__ + "\n").encode("utf-8"))) tempdir = mkdtemp(suffix="_temp")