commit | af48a917158dd2ce339a8d7bbb769ff2f37809b4 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Wed Oct 19 15:48:23 2016 +0200 |
committer | Victor Stinner <victor.stinner@gmail.com> | Wed Oct 19 15:48:23 2016 +0200 |
tree | 3b1346c413f20fd0bc7a1af2331dea80535e4006 | |
parent | 7f4e40e1e0c9a801d6741b385b722858a66037bd [diff] [blame] |
Issue #28240: Fix formatting of the warning.
diff --git a/Lib/timeit.py b/Lib/timeit.py index d811294..0b5061f 100644 --- a/Lib/timeit.py +++ b/Lib/timeit.py
@@ -365,8 +365,7 @@ 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