Skip to content

Commit

Permalink
Update "testclient.py" to work on Python 3
Browse files Browse the repository at this point in the history
Signed-off-by: Tianon Gravi <[email protected]>
  • Loading branch information
tianon committed Oct 11, 2022
1 parent 74ee191 commit b3e6a77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildscripts/testclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down

0 comments on commit b3e6a77

Please sign in to comment.