[Python-checkins] r75293 - python/trunk/Tools/pybench/pybench.py
kristjan.jonsson
python-checkins at python.org
Fri Oct 9 16:32:19 CEST 2009
Author: kristjan.jonsson
Date: Fri Oct 9 16:32:19 2009
New Revision: 75293
Log:
http://bugs.python.org/issue7029
a non-default timer wasn't actually used by the individual Tests.
Modified:
python/trunk/Tools/pybench/pybench.py
Modified: python/trunk/Tools/pybench/pybench.py
==============================================================================
--- python/trunk/Tools/pybench/pybench.py (original)
+++ python/trunk/Tools/pybench/pybench.py Fri Oct 9 16:32:19 2009
@@ -230,7 +230,7 @@
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 = []
More information about the Python-checkins
mailing list