Skip to content
This repository was archived by the owner on May 5, 2025. It is now read-only.

Commit 8729c05

Browse files
fix: test results finisher bug (#1183)
1 parent 3a05fb3 commit 8729c05

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

services/test_results.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,8 @@ def wrap_in_code(content: str) -> str:
201201

202202

203203
def display_duration(f: float) -> str:
204-
before_dot, after_dot = str(f).split(".")
204+
split_duration = str(f).split(".")
205+
before_dot = split_duration[0]
205206
if len(before_dot) > 3:
206207
return before_dot
207208
else:

0 commit comments

Comments
 (0)