diff options
author | James Bourbeau <jrbourbeau@users.noreply.github.com> | 2018-10-26 01:45:14 -0500 |
---|---|---|
committer | Matti Picus <matti.picus@gmail.com> | 2018-10-26 09:45:14 +0300 |
commit | 437534b06bf7ccd744170accd4283f39eeb26e57 (patch) | |
tree | e7660fa6667d5820b330bda25166d783e5e671b4 /numpy/lib/tests/test_index_tricks.py | |
parent | 59465028a5ffa886b2b9e04e768a4cbf82f9efca (diff) | |
download | numpy-437534b06bf7ccd744170accd4283f39eeb26e57.tar.gz |
BUG: Revert linspace import for concatenation funcs (#12265)
BUG: test and fix import linspace in index_tricks
Diffstat (limited to 'numpy/lib/tests/test_index_tricks.py')
-rw-r--r-- | numpy/lib/tests/test_index_tricks.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/numpy/lib/tests/test_index_tricks.py b/numpy/lib/tests/test_index_tricks.py index 76d9b403e..3246f68ff 100644 --- a/numpy/lib/tests/test_index_tricks.py +++ b/numpy/lib/tests/test_index_tricks.py @@ -226,6 +226,11 @@ class TestConcatenator(object): g = r_[-10.1, np.array([1]), np.array([2, 3, 4]), 10.0] assert_(g.dtype == 'f8') + def test_complex_step(self): + # Regression test for #12262 + g = r_[0:36:100j] + assert_(g.shape == (100,)) + def test_2d(self): b = np.random.rand(5, 5) c = np.random.rand(5, 5) |