diff --git a/src/z3c/recipe/compattest/runner.py b/src/z3c/recipe/compattest/runner.py index 27c0c3a..e7f1573 100644 --- a/src/z3c/recipe/compattest/runner.py +++ b/src/z3c/recipe/compattest/runner.py @@ -53,10 +53,9 @@ def poll(self): self.exitcode = self.process.poll() if self.exitcode is not None and self.process is not None: self.end = time.time() - # We're done, get it all - data = self.process.stdout.read() - # Close the pipes and cleanup. - self.process.communicate() + # We're done, get all remaining output, and + # close the pipes. + data = self.process.communicate()[0] self.process = None else: # We're not done, so just get some diff --git a/tox.ini b/tox.ini index b614e15..028e7af 100644 --- a/tox.ini +++ b/tox.ini @@ -18,7 +18,6 @@ setenv = [testenv:coverage] skip_install = true commands = - coverage erase coverage combine coverage html -i coverage xml -i