diff --git a/Tools/autotest/common.py b/Tools/autotest/common.py index 0ea0af1d2a..dee88405d1 100644 --- a/Tools/autotest/common.py +++ b/Tools/autotest/common.py @@ -545,7 +545,7 @@ class AutoTest(ABC): if m.custom_mode == custom_mode: return time.sleep(0.1) - return AutoTestTimeoutException() + raise AutoTestTimeoutException() def reach_heading_manual(self, heading): """Manually direct the vehicle to the target heading."""