mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-13 11:40:42 +02:00
qa: Close stdout and stderr file when node stops
This commit is contained in:
parent
1ef57a96b8
commit
fada8966c5
@ -200,6 +200,9 @@ class TestNode():
|
|||||||
if stderr != expected_stderr:
|
if stderr != expected_stderr:
|
||||||
raise AssertionError("Unexpected stderr {} != {}".format(stderr, expected_stderr))
|
raise AssertionError("Unexpected stderr {} != {}".format(stderr, expected_stderr))
|
||||||
|
|
||||||
|
self.stdout.close()
|
||||||
|
self.stderr.close()
|
||||||
|
|
||||||
del self.p2ps[:]
|
del self.p2ps[:]
|
||||||
|
|
||||||
def is_node_stopped(self):
|
def is_node_stopped(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user