diff --git a/scripts/py_matter_yamltests/matter_yamltests/runner.py b/scripts/py_matter_yamltests/matter_yamltests/runner.py index cae057f5b59590..05fe8fc54e851c 100644 --- a/scripts/py_matter_yamltests/matter_yamltests/runner.py +++ b/scripts/py_matter_yamltests/matter_yamltests/runner.py @@ -225,7 +225,7 @@ async def _run(self, parser: TestParser, config: TestRunnerConfig): if config.options.delay_in_ms: await asyncio.sleep(config.options.delay_in_ms / 1000) - hooks.test_stop(exception=None, duration=round(test_duration)) + hooks.test_stop(round(test_duration)) except Exception as exception: status = exception