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

numpy-svn@scip... numpy-svn@scip...
Fri Apr 11 01:34:25 CDT 2008


Author: charris
Date: 2008-04-11 01:34:20 -0500 (Fri, 11 Apr 2008)
New Revision: 5020

Modified:
   trunk/numpy/core/tests/test_regression.py
Log:
More debugging.


Modified: trunk/numpy/core/tests/test_regression.py
===================================================================
--- trunk/numpy/core/tests/test_regression.py	2008-04-11 06:20:03 UTC (rev 5019)
+++ trunk/numpy/core/tests/test_regression.py	2008-04-11 06:34:20 UTC (rev 5020)
@@ -750,14 +750,15 @@
 
     def check_object_casting_debug(self, level=rlevel):
         def rs():
-            x = 1.0
-            x |= 1.0
+            x = np.ones([484,286])
+            y = np.zeros([484,286])
+            x |= y
         rs()
         self.failUnlessRaises(TypeError,rs)
 
     def check_object_casting(self, level=rlevel):
         def rs():
-            x = 1.0 | 2.0
+            x = np.ones([484,286])
             y = np.zeros([484,286])
             x |= y
         self.failUnlessRaises(TypeError,rs)



More information about the Numpy-svn mailing list