autotest: rover: remove pointless try/except block

This commit is contained in:
Peter Barker 2023-01-04 21:23:49 +11:00 committed by Peter Barker
parent 0b7353bb89
commit f5320f1691

View File

@ -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'''