summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristján Valur Jónsson <kristjan@ccpgames.com>2009-10-09 14:32:19 +0000
committerKristján Valur Jónsson <kristjan@ccpgames.com>2009-10-09 14:32:19 +0000
commit696368e26eaffd1b16171e0514c9127d036a0c04 (patch)
treeeefcf349d45e7a02dce340bad134743f4370ea18
parentec5b6c3995db7cd09df9ba722909d11d13275aa6 (diff)
downloadcpython-696368e26eaffd1b16171e0514c9127d036a0c04.tar.gz
http://bugs.python.org/issue7029
a non-default timer wasn't actually used by the individual Tests.
-rwxr-xr-xTools/pybench/pybench.py2
1 files changed, 1 insertions, 1 deletions
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 = []