File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
tests/integration/hitl/pixhawk_param_testing Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ def fetch_all_params_mavlink(
140140 - decrypts and strips messages into values
141141 """
142142 # imported here so other modules can import this file without pymavlink
143- from pymavlink import mavutil # pylint: disable=import-outside-toplevel
143+ from pymavlink import mavutil # pylint: disable=import-outside-toplevel
144144
145145 # checks if vehicle is alive
146146 connection = mavutil .mavlink_connection (address , baud = baud )
@@ -231,10 +231,7 @@ def main() -> int:
231231 if missing :
232232 print (f"- Missing ({ len (missing )} ): { missing } " )
233233 if mismatches :
234- lines = [
235- f"{ name } : expected={ exp } actual={ act } "
236- for name , exp , act in mismatches
237- ]
234+ lines = [f"{ name } : expected={ exp } actual={ act } " for name , exp , act in mismatches ]
238235 print (f"- Mismatches ({ len (mismatches )} ):" )
239236 print (" " + "\n " .join (lines ))
240237 if extras :
You can’t perform that action at this time.
0 commit comments