You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Platform: Windows, Linux x64 (haven't tried others yet)
Subsystem: tools
I'm getting an error when using the --time option for test.py:
e.g.,
$ ./tools/test.py --time test/parallel/test-module-loading-globalpaths
[00:02|% 100|+ 1|- 0]: Done
--- Total time: 00:02.244 ---
Traceback (most recent call last):
File "./tools/test.py", line 1760, in <module>
sys.exit(Main())
File "./tools/test.py", line 1752, in Main
t = FormatTime(entry.duration)
File "./tools/test.py", line 1531, in FormatTime
millis = round(d * 1000) % 1000
TypeError: a float is required
The text was updated successfully, but these errors were encountered:
Calculated durations are timedelta objects but the FormatTime function
is expecting a number in seconds.
PR-URL: #20368Fixes: #20341
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Calculated durations are timedelta objects but the FormatTime function
is expecting a number in seconds.
PR-URL: #20368Fixes: #20341
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Calculated durations are timedelta objects but the FormatTime function
is expecting a number in seconds.
PR-URL: #20368Fixes: #20341
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
I'm getting an error when using the
--time
option fortest.py
:e.g.,
The text was updated successfully, but these errors were encountered: