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.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/numpy/lib/tests/test_index_tricks.py b/numpy/lib/tests/test_index_tricks.py
index 38bbaae96..a0105656b 100644
--- a/numpy/lib/tests/test_index_tricks.py
+++ b/numpy/lib/tests/test_index_tricks.py
@@ -39,6 +39,10 @@ class TestConcatenator(NumpyTestCase):
g = r_[10.1, 1:10]
assert(g.dtype == 'f8')
+ def check_more_mixed_type(self):
+ g = r_[-10.1, array([1]), array([2,3,4]), 10.0]
+ assert(g.dtype == 'f8')
+
def check_2d(self):
b = rand(5,5)
c = rand(5,5)