Skip to content

Commit

Permalink
Return unicode from stdout in pants integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Arellano committed Aug 17, 2018
1 parent f4ab07c commit c893f8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/python/pants_test/pants_run_integration_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ def bundle_and_run(self, target, bundle_name, bundle_jar_name=None, bundle_optio
stdout, _ = java_run.communicate()
java_returncode = java_run.returncode
self.assertEqual(java_returncode, 0)
return stdout
return stdout.decode('utf-8')

def assert_success(self, pants_run, msg=None):
self.assert_result(pants_run, self.PANTS_SUCCESS_CODE, expected=True, msg=msg)
Expand Down

0 comments on commit c893f8c

Please sign in to comment.