diff options
author | Kristján Valur Jónsson <kristjan@ccpgames.com> | 2009-10-09 14:32:19 (GMT) |
---|---|---|
committer | Kristján Valur Jónsson <kristjan@ccpgames.com> | 2009-10-09 14:32:19 (GMT) |
commit | 49b881410b7901bc2cb25c39205431cc6fb37745 (patch) | |
tree | f771a1c956e494581da91262d3cbcfc69b4e344c | |
parent | 4502dcd48c956d5e4cb899e8c86265195f0abcb3 (diff) | |
download | cpython-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.
-rwxr-xr-x | Tools/pybench/pybench.py | 2 |
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 = [] |