summaryrefslogtreecommitdiff
path: root/test/test_farm.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2009-07-08 15:09:12 -0400
committerNed Batchelder <ned@nedbatchelder.com>2009-07-08 15:09:12 -0400
commit1b1ec1268f147344d05588f6fc5a0902f68d995d (patch)
treeea571046475ce37a6520669ce532d122cf13e631 /test/test_farm.py
parenta13a2c89da9bbe9cabc54af293c8c73339cc268a (diff)
downloadpython-coveragepy-git-1b1ec1268f147344d05588f6fc5a0902f68d995d.tar.gz
Py3k: bytes vs. strings, and one more print statement.
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: