diff options
author | Kristján Valur Jónsson <kristjan@ccpgames.com> | 2009-10-09 14:32:19 +0000 |
---|---|---|
committer | Kristján Valur Jónsson <kristjan@ccpgames.com> | 2009-10-09 14:32:19 +0000 |
commit | 696368e26eaffd1b16171e0514c9127d036a0c04 (patch) | |
tree | eefcf349d45e7a02dce340bad134743f4370ea18 | |
parent | ec5b6c3995db7cd09df9ba722909d11d13275aa6 (diff) | |
download | cpython-696368e26eaffd1b16171e0514c9127d036a0c04.tar.gz |
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 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 = [] |