Skip to content

Commit ce5bd0f

Browse files
committed
Update decorators
1 parent d3eaab4 commit ce5bd0f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

seleniumbase/common/decorators.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,9 @@ def my_method():
5353
name = description
5454
info = c1 + "<info>" + cr
5555
# Print times with a statistically significant number of decimal places
56-
if run_time < 0.0001:
56+
if run_time < 0.00001:
57+
print("%s - {%s} ran for %.8f seconds." % (info, name, run_time))
58+
elif run_time < 0.0001:
5759
print("%s - {%s} ran for %.7f seconds." % (info, name, run_time))
5860
elif run_time < 0.001:
5961
print("%s - {%s} ran for %.6f seconds." % (info, name, run_time))

0 commit comments

Comments
 (0)