From 49b881410b7901bc2cb25c39205431cc6fb37745 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristj=C3=A1n=20Valur=20J=C3=B3nsson?= Date: Fri, 9 Oct 2009 14:32:19 +0000 Subject: [PATCH] http://bugs.python.org/issue7029 a non-default timer wasn't actually used by the individual Tests. --- Tools/pybench/pybench.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/pybench/pybench.py b/Tools/pybench/pybench.py index 83a62173c64..9dee73194a7 100755 --- a/Tools/pybench/pybench.py +++ b/Tools/pybench/pybench.py @@ -230,7 +230,7 @@ class Test: raise ValueError('at least one calibration run is required') self.calibration_runs = calibration_runs if timer is not None: - timer = timer + self.timer = timer # Init variables self.times = []