From 6f7e79b309040ed1cb6f34c71ab60d68f91c5e7a Mon Sep 17 00:00:00 2001 From: Dana Powers Date: Wed, 14 Jan 2015 12:54:51 -0800 Subject: Fix KafkaFixture child stdout / stderr capture --- test/fixtures.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/fixtures.py') diff --git a/test/fixtures.py b/test/fixtures.py index b286619..73fdfa9 100644 --- a/test/fixtures.py +++ b/test/fixtures.py @@ -212,8 +212,8 @@ class KafkaFixture(Fixture): if proc.wait() != 0: self.out("Failed to create Zookeeper chroot node") - self.out(proc.stdout) - self.out(proc.stderr) + self.out(proc.stdout.read()) + self.out(proc.stderr.read()) raise RuntimeError("Failed to create Zookeeper chroot node") self.out("Done!") -- cgit v1.2.1