mirror of
https://github.com/python/cpython.git
synced 2025-11-28 22:18:54 +00:00
Issue #28240: Fix formatting of the warning.
This commit is contained in:
parent
7f4e40e1e0
commit
af48a91715
1 changed files with 1 additions and 2 deletions
|
|
@ -365,8 +365,7 @@ def main(args=None, *, _wrap_timer=None):
|
||||||
warnings.warn_explicit("The test results are likely unreliable. "
|
warnings.warn_explicit("The test results are likely unreliable. "
|
||||||
"The worst time (%s) was more than four times "
|
"The worst time (%s) was more than four times "
|
||||||
"slower than the best time (%s)."
|
"slower than the best time (%s)."
|
||||||
% (precision,
|
% (format_time(worst), format_time(best)),
|
||||||
format_time(worst), format_time(best)),
|
|
||||||
UserWarning, '', 0)
|
UserWarning, '', 0)
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue