From e89ceff2097fd6f05e012b4a371e05c6a3d6c6be Mon Sep 17 00:00:00 2001 From: Joseph Sawaya Date: Thu, 27 Mar 2025 12:20:13 -0400 Subject: [PATCH] fix: test results finisher bug --- services/test_results.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/services/test_results.py b/services/test_results.py index d0b64eae6..a0be95a7f 100644 --- a/services/test_results.py +++ b/services/test_results.py @@ -201,7 +201,8 @@ def wrap_in_code(content: str) -> str: def display_duration(f: float) -> str: - before_dot, after_dot = str(f).split(".") + split_duration = str(f).split(".") + before_dot = split_duration[0] if len(before_dot) > 3: return before_dot else: