[Numpy-svn] r4995 - trunk/numpy/core/tests

numpy-svn@scip... numpy-svn@scip...
Wed Apr 9 06:38:43 CDT 2008


Author: stefan
Date: 2008-04-09 06:38:26 -0500 (Wed, 09 Apr 2008)
New Revision: 4995

Modified:
   trunk/numpy/core/tests/test_regression.py
Log:
Regression test for ticket #714.


Modified: trunk/numpy/core/tests/test_regression.py
===================================================================
--- trunk/numpy/core/tests/test_regression.py	2008-04-09 01:54:54 UTC (rev 4994)
+++ trunk/numpy/core/tests/test_regression.py	2008-04-09 11:38:26 UTC (rev 4995)
@@ -976,5 +976,10 @@
         assert not np.any(a)
         np.setbufsize(oldsize)
 
+    def check_mem_0d_array_index(self, level=rlevel):
+        """Ticket #714"""
+        np.zeros(10)[np.array(0)]
+
+
 if __name__ == "__main__":
     NumpyTest().run()



More information about the Numpy-svn mailing list