From 9dee319c84c52c8e9201e1eb919bc919668366e6 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Thu, 9 Jul 2009 18:18:02 -0400 Subject: Py3k: some output is bytes instead of string, so convert since it doesn't matter. --- test/test_farm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/test_farm.py') diff --git a/test/test_farm.py b/test/test_farm.py index 239dac00..6e8f3467 100644 --- a/test/test_farm.py +++ b/test/test_farm.py @@ -135,7 +135,7 @@ class FarmTestCase(object): retcode, output = run_command(cmd) print output, if outfile: - open(outfile, "a+").write(output.decode('utf-8')) + open(outfile, "a+").write(output) if retcode: raise Exception("command exited abnormally") finally: -- cgit v1.2.1