summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_index_tricks.py
diff options
context:
space:
mode:
authorEric Wieser <wieser.eric@gmail.com>2019-09-13 00:53:41 -0700
committerEric Wieser <wieser.eric@gmail.com>2019-09-13 00:53:41 -0700
commitff11d0127c5906be5bb67ec3fc86e075943124aa (patch)
tree18e7b06d9b60c9de243f9b89542ea3ec2376b1eb /numpy/lib/tests/test_index_tricks.py
parente4878891c848d0b1a46a310fd4a88fd7801b4fab (diff)
parentedf8a5f70bd946135a07bf8b1eada5feddef4b94 (diff)
downloadnumpy-ff11d0127c5906be5bb67ec3fc86e075943124aa.tar.gz
Merge commit 'edf8a5f' into HEAD
Diffstat (limited to 'numpy/lib/tests/test_index_tricks.py')
-rw-r--r--numpy/lib/tests/test_index_tricks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/tests/test_index_tricks.py b/numpy/lib/tests/test_index_tricks.py
index 2f7e97831..a5cdda074 100644
--- a/numpy/lib/tests/test_index_tricks.py
+++ b/numpy/lib/tests/test_index_tricks.py
@@ -190,7 +190,7 @@ class TestGrid(object):
assert_almost_equal(a[1]-a[0], 2.0/9.0, 11)
def test_linspace_equivalence(self):
- y, st = np.linspace(2, 10, retstep=1)
+ y, st = np.linspace(2, 10, retstep=True)
assert_almost_equal(st, 8/49.0)
assert_array_almost_equal(y, mgrid[2:10:50j], 13)