summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_index_tricks.py
diff options
context:
space:
mode:
authorMSeifert04 <michaelseifert04@yahoo.de>2019-07-01 21:19:51 +0200
committerMSeifert04 <michaelseifert04@yahoo.de>2019-07-01 21:19:51 +0200
commit94d6a3759d5b56b7c1c2ba4c327f891aedde2ebc (patch)
tree211f636ca7f6f653c775de14e3b25d96b352a89f /numpy/lib/tests/test_index_tricks.py
parenta14a8cefdeb80552f0feecd65c8c5b6b869aa487 (diff)
downloadnumpy-94d6a3759d5b56b7c1c2ba4c327f891aedde2ebc.tar.gz
MAINT: Replace integers in places where booleans are expected
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)