diff --git a/run_wml_tests b/run_wml_tests index b4d3bb0c2a1f..358756536461 100755 --- a/run_wml_tests +++ b/run_wml_tests @@ -156,7 +156,7 @@ class WesnothRunner: print(repr(args)) try: res = run_with_rerun_for_sdl_video(args, timeout) - except subprocess.TimeoutExpired as e: + except subprocess.TimeoutExpired: print("Timed out (killed by Python timeout implementation)") res = subprocess.CompletedProcess(args, UnitTestResult.TIMEOUT.value) if self.verbose > 1: