Browse Source

pytest: Avoid leaking stdout fds

ppa-0.6.1
Christian Decker 7 years ago
parent
commit
3e0efb6f8d
  1. 1
      tests/utils.py

1
tests/utils.py

@ -100,6 +100,7 @@ class TailableProc(object):
logging.debug("%s: %s", self.prefix, line.decode().rstrip())
self.logs_cond.notifyAll()
self.running = False
self.proc.stdout.close()
def is_in_log(self, regex):
"""Look for `regex` in the logs."""

Loading…
Cancel
Save