summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_index_tricks.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/lib/tests/test_index_tricks.py')
-rw-r--r--numpy/lib/tests/test_index_tricks.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/numpy/lib/tests/test_index_tricks.py b/numpy/lib/tests/test_index_tricks.py
index 67ff0e5d5..708c3c964 100644
--- a/numpy/lib/tests/test_index_tricks.py
+++ b/numpy/lib/tests/test_index_tricks.py
@@ -187,6 +187,8 @@ class TestConcatenator(TestCase):
assert_equal(np.array(ab_r), [[1,2,3,4]])
assert_equal(np.array(ab_c), [[1],[2],[3],[4]])
+ assert_raises(ValueError, lambda: np.r_['rc', a, b])
+
def test_matrix_builder(self):
a = np.array([1])
b = np.array([2])