Skip to content

Commit

Permalink
Merge pull request #1644 from tianon/python3
Browse files Browse the repository at this point in the history
Update "testclient.py" to work on Python 3
  • Loading branch information
justincormack authored Oct 31, 2022
2 parents 74ee191 + b3e6a77 commit a989bde
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 a989bde

Please sign in to comment.