[Numpy-svn] r5023 - trunk/numpy/lib/tests

numpy-svn@scip... numpy-svn@scip...
Fri Apr 11 01:59:15 CDT 2008


Author: oliphant
Date: 2008-04-11 01:59:11 -0500 (Fri, 11 Apr 2008)
New Revision: 5023

Modified:
   trunk/numpy/lib/tests/test_index_tricks.py
Log:
Add one more test from ticket #728

Modified: trunk/numpy/lib/tests/test_index_tricks.py
===================================================================
--- trunk/numpy/lib/tests/test_index_tricks.py	2008-04-11 06:56:57 UTC (rev 5022)
+++ trunk/numpy/lib/tests/test_index_tricks.py	2008-04-11 06:59:11 UTC (rev 5023)
@@ -39,6 +39,10 @@
         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)



More information about the Numpy-svn mailing list