diff options
author | Seth Troisi <sethtroisi@google.com> | 2020-01-20 14:15:45 -0800 |
---|---|---|
committer | Seth Troisi <sethtroisi@google.com> | 2020-01-20 14:15:45 -0800 |
commit | cddd56769932cde2a25146cca3627eebe1d340bf (patch) | |
tree | b72a1ea07bf11e602dd21b9724b4045b1fa48c19 /benchmarks | |
parent | a16dfb5b397718c5caf32c63f024d1ce3518c5a1 (diff) | |
download | numpy-cddd56769932cde2a25146cca3627eebe1d340bf.tar.gz |
[MAINT] Remove six
Diffstat (limited to 'benchmarks')
-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): |