From 045115de05cf51c3dc80b733179f359d8d795820 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Sat, 3 Sep 2022 10:03:23 +1000 Subject: [PATCH] autotest: explicltly close filehandle with streamrate contents Test sporadically failing on autotest server. --- Tools/autotest/arducopter.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Tools/autotest/arducopter.py b/Tools/autotest/arducopter.py index 853b9d5eac..3eb32649d0 100644 --- a/Tools/autotest/arducopter.py +++ b/Tools/autotest/arducopter.py @@ -7766,6 +7766,7 @@ class AutoTestCopter(AutoTest): 28 100 29 200 """) + f.close() # other tests may have explicitly set rates, so wipe parameters: def custom_stream_rate_setter():