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

numpy-svn@scip... numpy-svn@scip...
Thu Aug 28 21:33:46 CDT 2008


Author: cdavid
Date: 2008-08-28 21:33:38 -0500 (Thu, 28 Aug 2008)
New Revision: 5723

Modified:
   trunk/numpy/core/tests/test_regression.py
Log:
Fix regression test for #771.


Modified: trunk/numpy/core/tests/test_regression.py
===================================================================
--- trunk/numpy/core/tests/test_regression.py	2008-08-29 02:29:14 UTC (rev 5722)
+++ trunk/numpy/core/tests/test_regression.py	2008-08-29 02:33:38 UTC (rev 5723)
@@ -847,7 +847,7 @@
         """Ticket #771: strides are not set correctly when reshaping 0-sized
         arrays"""
         b = np.indices((0,3,4)).T.reshape(-1,3)
-        assert_equal(b.strides, (24, 4))
+        assert_equal(b.strides, (12, 4))
 
     def test_object_array_refcounting(self, level=rlevel):
         """Ticket #633"""



More information about the Numpy-svn mailing list