mirror of
https://github.com/python/cpython.git
synced 2024-11-27 11:55:13 +08:00
Issue #28240: Fix formatting of the warning.
This commit is contained in:
parent
7f4e40e1e0
commit
af48a91715
@ -365,8 +365,7 @@ def main(args=None, *, _wrap_timer=None):
|
||||
warnings.warn_explicit("The test results are likely unreliable. "
|
||||
"The worst time (%s) was more than four times "
|
||||
"slower than the best time (%s)."
|
||||
% (precision,
|
||||
format_time(worst), format_time(best)),
|
||||
% (format_time(worst), format_time(best)),
|
||||
UserWarning, '', 0)
|
||||
return None
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user