summaryrefslogtreecommitdiffstats
path: root/bench
diff options
context:
space:
mode:
Diffstat (limited to 'bench')
-rw-r--r--bench/bench.py1
-rw-r--r--bench/timeit.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/bench/bench.py b/bench/bench.py
index 3391f9d..74dbf12 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 199b7c9..ed94361 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