Skip to content

Commit a4bf759

Browse files
author
Eric Arellano
committed
Decode test's execute_task() output
1 parent b81cd24 commit a4bf759

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/python/pants_test/task_test_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ def execute_task(self, targets=None, options=None):
198198
context = self.context(target_roots=targets, console_outstream=output)
199199
task = self.create_task(context)
200200
task.execute()
201-
return output.getvalue()
201+
return output.getvalue().decode('utf-8')
202202

203203
def execute_console_task(self, targets=None, extra_targets=None, options=None,
204204
passthru_args=None, workspace=None, scheduler=None):

0 commit comments

Comments
 (0)