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

numpy-svn at scipy.org numpy-svn at scipy.org
Thu Sep 28 10:57:37 CDT 2006


Author: stefan
Date: 2006-09-28 10:56:19 -0500 (Thu, 28 Sep 2006)
New Revision: 3231

Modified:
   trunk/numpy/core/tests/test_regression.py
Log:
Add test for ticket #298.


Modified: trunk/numpy/core/tests/test_regression.py
===================================================================
--- trunk/numpy/core/tests/test_regression.py	2006-09-28 12:58:14 UTC (rev 3230)
+++ trunk/numpy/core/tests/test_regression.py	2006-09-28 15:56:19 UTC (rev 3231)
@@ -451,5 +451,10 @@
             res2 = getattr(N, func)(arr1, arr2)
             assert abs(res1-res2).max() < 1e-8, func
         
+    def check_mem_lexsort_strings(self, level=rlevel):
+        """Ticket #298"""
+        lst = ['abc','cde','fgh']
+        N.lexsort((lst,))
+        
 if __name__ == "__main__":
     NumpyTest().run()



More information about the Numpy-svn mailing list