summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorMike Taves <mwtoews@gmail.com>2020-01-21 16:15:26 +1300
committerMike Taves <mwtoews@gmail.com>2020-01-21 16:15:26 +1300
commite7c48d4ef593986e1e0309e6262082d0cf48f7d5 (patch)
treec3eda50f4a870ca79b243ea5f16f6dbb61a8aa4f /benchmarks
parentf71d9937d1e8a1e709f325f689f1e971e64c26a7 (diff)
downloadnumpy-e7c48d4ef593986e1e0309e6262082d0cf48f7d5.tar.gz
MAINT: Remove other uses of six module
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/asv.conf.json1
-rw-r--r--benchmarks/benchmarks/bench_app.py4
2 files changed, 1 insertions, 4 deletions
diff --git a/benchmarks/asv.conf.json b/benchmarks/asv.conf.json
index b3c7f9f20..1046f10f2 100644
--- a/benchmarks/asv.conf.json
+++ b/benchmarks/asv.conf.json
@@ -42,7 +42,6 @@
// list indicates to just test against the default (latest)
// version.
"matrix": {
- "six": [],
"Cython": [],
},
diff --git a/benchmarks/benchmarks/bench_app.py b/benchmarks/benchmarks/bench_app.py
index 2a649f39b..bee95c201 100644
--- a/benchmarks/benchmarks/bench_app.py
+++ b/benchmarks/benchmarks/bench_app.py
@@ -2,8 +2,6 @@ from .common import Benchmark
import numpy as np
-from six.moves import xrange
-
class LaplaceInplace(Benchmark):
params = ['inplace', 'normal']
@@ -59,7 +57,7 @@ class MaxesOfDots(Benchmark):
ntime = 200
self.arrays = [np.random.normal(size=(ntime, nfeat))
- for i in xrange(nsubj)]
+ for i in range(nsubj)]
def maxes_of_dots(self, arrays):
"""