mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 23:54:22 +01:00
pytest: Avoid leaking stdout fds
This commit is contained in:
@@ -100,6 +100,7 @@ class TailableProc(object):
|
|||||||
logging.debug("%s: %s", self.prefix, line.decode().rstrip())
|
logging.debug("%s: %s", self.prefix, line.decode().rstrip())
|
||||||
self.logs_cond.notifyAll()
|
self.logs_cond.notifyAll()
|
||||||
self.running = False
|
self.running = False
|
||||||
|
self.proc.stdout.close()
|
||||||
|
|
||||||
def is_in_log(self, regex):
|
def is_in_log(self, regex):
|
||||||
"""Look for `regex` in the logs."""
|
"""Look for `regex` in the logs."""
|
||||||
|
|||||||
Reference in New Issue
Block a user