summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_index_tricks.py
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2008-04-11 06:59:11 +0000
committerTravis Oliphant <oliphant@enthought.com>2008-04-11 06:59:11 +0000
commit3811cb8173bfd05396b231696ccbab210a43129c (patch)
tree0bfaa9355beebcfbbe953c7f5d918c8f7ca6cd06 /numpy/lib/tests/test_index_tricks.py
parent445f8e4b23fc75d76d4b6f1738aba54bab536a30 (diff)
downloadnumpy-3811cb8173bfd05396b231696ccbab210a43129c.tar.gz
Add one more test from ticket #728
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)