diff options
author | Greg Noel <GregNoel@tigris.org> | 2010-04-24 22:25:56 +0000 |
---|---|---|
committer | Greg Noel <GregNoel@tigris.org> | 2010-04-24 22:25:56 +0000 |
commit | 176e5aa1f01a461939f5bd72ffd0dd8db9a175da (patch) | |
tree | bbdcd3f7da00dc5fcfa712bfaf148f392ac12fda /bench | |
parent | 8d23e18390f93d99ea18c8d2d7a38a1dd0c79dd8 (diff) | |
download | scons-176e5aa1f01a461939f5bd72ffd0dd8db9a175da.tar.gz |
Convert to Python 3.x division rules.
Diffstat (limited to 'bench')
-rw-r--r-- | bench/bench.py | 1 | ||||
-rw-r--r-- | bench/timeit.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/bench/bench.py b/bench/bench.py index 3391f9d9..74dbf121 100644 --- a/bench/bench.py +++ b/bench/bench.py @@ -23,6 +23,7 @@ # # This will allow (as much as possible) us to time just the code itself, # not Python function call overhead. +from __future__ import division import getopt import sys diff --git a/bench/timeit.py b/bench/timeit.py index 199b7c93..ed94361f 100644 --- a/bench/timeit.py +++ b/bench/timeit.py @@ -46,6 +46,7 @@ be aware of it. The baseline overhead can be measured by invoking the program without arguments. The baseline overhead differs between Python versions! """ +from __future__ import division try: import gc |