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

numpy-svn at scipy.org numpy-svn at scipy.org
Sun Feb 14 01:53:05 EST 2010


Author: charris
Date: 2010-02-14 00:53:05 -0600 (Sun, 14 Feb 2010)
New Revision: 8110

Modified:
   trunk/numpy/core/tests/test_regression.py
Log:
BUG: Apply patch to fix ticket #1326.

Modified: trunk/numpy/core/tests/test_regression.py
===================================================================
--- trunk/numpy/core/tests/test_regression.py	2010-02-13 22:56:30 UTC (rev 8109)
+++ trunk/numpy/core/tests/test_regression.py	2010-02-14 06:53:05 UTC (rev 8110)
@@ -1251,7 +1251,7 @@
         except ImportError:
             from md5 import new as md5
 
-        x = np.array([1,2,3], dtype=np.int32)
+        x = np.array([1,2,3], dtype=np.dtype('<i4'))
         assert_equal(md5(x).hexdigest(), '2a1dd1e1e59d0a384c26951e316cd7e6')
 
 if __name__ == "__main__":




More information about the Numpy-svn mailing list