mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
autotest: rover: remove pointless try/except block
This commit is contained in:
parent
0b7353bb89
commit
f5320f1691
@ -5703,8 +5703,7 @@ Brakes have negligible effect (with=%0.2fm without=%0.2fm delta=%0.2fm)
|
||||
def EndMissionBehavior(self, timeout=60):
|
||||
'''Test end mission behavior'''
|
||||
self.context_push()
|
||||
ex = None
|
||||
try:
|
||||
|
||||
self.load_mission("end-mission.txt")
|
||||
self.wait_ready_to_arm()
|
||||
self.arm_vehicle()
|
||||
@ -5766,13 +5765,9 @@ Brakes have negligible effect (with=%0.2fm without=%0.2fm delta=%0.2fm)
|
||||
self.send_cmd_do_set_mode("AUTO")
|
||||
self.wait_mode("MANUAL")
|
||||
self.disarm_vehicle()
|
||||
except Exception as e:
|
||||
self.print_exception_caught(e)
|
||||
ex = e
|
||||
|
||||
self.context_pop()
|
||||
self.reboot_sitl()
|
||||
if ex is not None:
|
||||
raise ex
|
||||
|
||||
def MAVProxyParam(self):
|
||||
'''Test MAVProxy parameter handling'''
|
||||
|
Loading…
Reference in New Issue
Block a user