Browse Source

Tools: autotest: raise exception, don't return it

Spotted by @khancyr
master
Peter Barker 7 years ago committed by Peter Barker
parent
commit
6e7e24ac91
  1. 2
      Tools/autotest/common.py

2
Tools/autotest/common.py

@ -545,7 +545,7 @@ class AutoTest(ABC):
if m.custom_mode == custom_mode: if m.custom_mode == custom_mode:
return return
time.sleep(0.1) time.sleep(0.1)
return AutoTestTimeoutException() raise AutoTestTimeoutException()
def reach_heading_manual(self, heading): def reach_heading_manual(self, heading):
"""Manually direct the vehicle to the target heading.""" """Manually direct the vehicle to the target heading."""

Loading…
Cancel
Save