Skip to content

Commit c893f8c

Browse files
author
Eric Arellano
committed
Return unicode from stdout in pants integration test
1 parent f4ab07c commit c893f8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/python/pants_test/pants_run_integration_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ def bundle_and_run(self, target, bundle_name, bundle_jar_name=None, bundle_optio
411411
stdout, _ = java_run.communicate()
412412
java_returncode = java_run.returncode
413413
self.assertEqual(java_returncode, 0)
414-
return stdout
414+
return stdout.decode('utf-8')
415415

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

0 commit comments

Comments
 (0)