diff options
author | Dana Powers <dana.powers@rd.io> | 2015-01-14 12:54:51 -0800 |
---|---|---|
committer | Dana Powers <dana.powers@rd.io> | 2015-01-14 12:59:37 -0800 |
commit | 6f7e79b309040ed1cb6f34c71ab60d68f91c5e7a (patch) | |
tree | 095cfe15fc265bd7a9cae40abc3a4d8595f498f9 | |
parent | 5ab535521f9a37a85407e25acaf87f0e5c0f3547 (diff) | |
download | kafka-python-6f7e79b309040ed1cb6f34c71ab60d68f91c5e7a.tar.gz |
Fix KafkaFixture child stdout / stderr capture
-rw-r--r-- | test/fixtures.py | 4 |
1 files changed, 2 insertions, 2 deletions
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!") |