From 62bc2a4ab4abe2d3c9c69f80ff8608c83d6f46bb Mon Sep 17 00:00:00 2001 From: Eric Arellano Date: Thu, 16 Aug 2018 14:47:42 -0700 Subject: [PATCH] Fix logging issue with passing object to format() --- src/python/pants/task/testrunner_task_mixin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python/pants/task/testrunner_task_mixin.py b/src/python/pants/task/testrunner_task_mixin.py index 77c596400aa..326c7cfe015 100644 --- a/src/python/pants/task/testrunner_task_mixin.py +++ b/src/python/pants/task/testrunner_task_mixin.py @@ -472,7 +472,7 @@ def _execute(self, all_targets): else: log = self.context.log.info result = self.result_class.successful() - log('{0:80}.....{1:>10}'.format(target.address.reference(), result)) + log('{0:80}.....{1:>10}'.format(target.address.reference(), str(result))) msgs = [str(_rv) for _rv in results.values() if not _rv.success] failed_targets = [target