From: Kristján Valur Jónsson Date: Fri, 9 Oct 2009 14:32:19 +0000 (+0000) Subject: http://bugs.python.org/issue7029 X-Git-Tag: v2.7a1~402 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=49b881410b7901bc2cb25c39205431cc6fb37745;p=python http://bugs.python.org/issue7029 a non-default timer wasn't actually used by the individual Tests. --- diff --git a/Tools/pybench/pybench.py b/Tools/pybench/pybench.py index 83a62173c6..9dee73194a 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 = []