summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorKristján Valur Jónsson <kristjan@ccpgames.com>2009-10-09 14:32:19 (GMT)
committerKristján Valur Jónsson <kristjan@ccpgames.com>2009-10-09 14:32:19 (GMT)
commit49b881410b7901bc2cb25c39205431cc6fb37745 (patch)
treef771a1c956e494581da91262d3cbcfc69b4e344c /Tools
parent4502dcd48c956d5e4cb899e8c86265195f0abcb3 (diff)
downloadcpython-49b881410b7901bc2cb25c39205431cc6fb37745.zip
cpython-49b881410b7901bc2cb25c39205431cc6fb37745.tar.gz
cpython-49b881410b7901bc2cb25c39205431cc6fb37745.tar.bz2
http://bugs.python.org/issue7029
a non-default timer wasn't actually used by the individual Tests.
Diffstat (limited to 'Tools')
-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 83a6217..9dee731 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 = []