Issue #28240: Fix formatting of the warning.

This commit is contained in:
Victor Stinner 2016-10-19 15:48:23 +02:00
parent 7f4e40e1e0
commit af48a91715

View file

@ -365,8 +365,7 @@ def format_time(dt):
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