Commit 9c60d750 authored by Jérome Perrin's avatar Jérome Perrin

util/testnode/testnode: explicitly close logger for testsuite

this prevents ResourceWarnings on python3
parent bf2a09d4
......@@ -190,6 +190,7 @@ shared = true
finally:
logger.propagate = True
logger.removeHandler(handler)
handler.close()
def checkRevision(self, test_result, node_test_suite):
if node_test_suite.revision == test_result.revision:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment