diff options
-rw-r--r-- | benchmarks/benchmarks/bench_indexing.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/benchmarks/benchmarks/bench_indexing.py b/benchmarks/benchmarks/bench_indexing.py index bb7596d0a..2bcf7efad 100644 --- a/benchmarks/benchmarks/bench_indexing.py +++ b/benchmarks/benchmarks/bench_indexing.py @@ -3,7 +3,6 @@ from .common import Benchmark, get_squares_, get_indexes_, get_indexes_rand_ from os.path import join as pjoin import shutil import sys -import six from numpy import memmap, float32, array import numpy as np from tempfile import mkdtemp @@ -29,7 +28,7 @@ class Indexing(Benchmark): code = "def run():\n for a in squares_.itervalues(): a[%s]%s" code = code % (sel, op) - six.exec_(code, ns) + exec(code, ns) self.func = ns['run'] def time_op(self, indexes, sel, op): |