summaryrefslogtreecommitdiff
path: root/test/test_farm.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_farm.py')
-rw-r--r--test/test_farm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_farm.py b/test/test_farm.py
index 4323f23c..d7b40b33 100644
--- a/test/test_farm.py
+++ b/test/test_farm.py
@@ -134,7 +134,7 @@ class FarmTestCase(object):
retcode, output = run_command(cmd)
print output,
if outfile:
- open(outfile, "a+").write(output)
+ open(outfile, "a+").write(output.decode('utf-8'))
if retcode:
raise Exception("command exited abnormally")
finally: