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

numpy-svn at scipy.org numpy-svn at scipy.org
Thu Sep 7 17:44:07 CDT 2006


Author: stefan
Date: 2006-09-07 17:43:47 -0500 (Thu, 07 Sep 2006)
New Revision: 3133

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


Modified: trunk/numpy/core/tests/test_regression.py
===================================================================
--- trunk/numpy/core/tests/test_regression.py	2006-09-07 22:27:48 UTC (rev 3132)
+++ trunk/numpy/core/tests/test_regression.py	2006-09-07 22:43:47 UTC (rev 3133)
@@ -359,6 +359,10 @@
         assert_equal(N.arange(4,dtype='<c8').imag.max(),0.0)
         assert_equal(N.arange(4,dtype='>c8').real.max(),3.0)
         assert_equal(N.arange(4,dtype='<c8').real.max(),3.0)
+ 
+    def check_masked_array_repeat(self, level=rlevel):
+        """Ticket #271"""
+        N.ma.array([1],mask=False).repeat(10)
         
     def check_multiple_assign(self, level=rlevel):
         """Ticket #273"""



More information about the Numpy-svn mailing list