From 931cfb8025f45535b3bb839ebfa5191074a76b15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Reni=C3=A9?= Date: Thu, 28 Aug 2014 21:22:19 +0200 Subject: Fix log capture on py3 --- test/service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/service.py b/test/service.py index 2f66120..865129b 100644 --- a/test/service.py +++ b/test/service.py @@ -54,7 +54,7 @@ class SpawnedService(threading.Thread): if self.child.stdout in rds: line = self.child.stdout.readline() - self.captured_stdout.append(line) + self.captured_stdout.append(line.decode('utf-8')) if self.child.stderr in rds: line = self.child.stderr.readline() -- cgit v1.2.1