summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2020-01-21 22:07:58 +1100
committerGitHub <noreply@github.com>2020-01-21 22:07:58 +1100
commitbe8f93cbfd5cec2f58bc15a54e602f74bd908ab3 (patch)
treec3eda50f4a870ca79b243ea5f16f6dbb61a8aa4f
parentf71d9937d1e8a1e709f325f689f1e971e64c26a7 (diff)
parente7c48d4ef593986e1e0309e6262082d0cf48f7d5 (diff)
downloadnumpy-be8f93cbfd5cec2f58bc15a54e602f74bd908ab3.tar.gz
Merge pull request #15364 from mwtoews/six
MAINT: Remove other uses of six module
-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):
"""