Skip to content

Commit

Permalink
Decode test's execute_task() output
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Arellano committed Aug 17, 2018
1 parent b81cd24 commit a4bf759
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/python/pants_test/task_test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ def execute_task(self, targets=None, options=None):
context = self.context(target_roots=targets, console_outstream=output)
task = self.create_task(context)
task.execute()
return output.getvalue()
return output.getvalue().decode('utf-8')

def execute_console_task(self, targets=None, extra_targets=None, options=None,
passthru_args=None, workspace=None, scheduler=None):
Expand Down

0 comments on commit a4bf759

Please sign in to comment.