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

numpy-svn at scipy.org numpy-svn at scipy.org
Wed Oct 11 16:23:10 CDT 2006


Author: stefan
Date: 2006-10-11 16:22:58 -0500 (Wed, 11 Oct 2006)
New Revision: 3312

Modified:
   trunk/numpy/core/tests/test_regression.py
Log:
Test for ticket #334.


Modified: trunk/numpy/core/tests/test_regression.py
===================================================================
--- trunk/numpy/core/tests/test_regression.py	2006-10-11 20:56:27 UTC (rev 3311)
+++ trunk/numpy/core/tests/test_regression.py	2006-10-11 21:22:58 UTC (rev 3312)
@@ -502,5 +502,9 @@
         """Ticket #330"""
         N.float64(1.0).imag
         
+    def check_dtype_tuple(self, level=rlevel):
+        """Ticket #334"""
+        assert N.dtype('i4') == N.dtype(('i4',()))
+        
 if __name__ == "__main__":
     NumpyTest().run()



More information about the Numpy-svn mailing list