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

numpy-svn@scip... numpy-svn@scip...
Fri Apr 11 01:56:59 CDT 2008


Author: charris
Date: 2008-04-11 01:56:57 -0500 (Fri, 11 Apr 2008)
New Revision: 5022

Modified:
   trunk/numpy/core/tests/test_regression.py
Log:
Remove debugging. Python 2.6 still raises ValueError for bitwise operations
involving floats, as it should. Numpy doesn't.


Modified: trunk/numpy/core/tests/test_regression.py
===================================================================
--- trunk/numpy/core/tests/test_regression.py	2008-04-11 06:53:49 UTC (rev 5021)
+++ trunk/numpy/core/tests/test_regression.py	2008-04-11 06:56:57 UTC (rev 5022)
@@ -748,14 +748,6 @@
         y2 = y[::-1]
         assert_equal(np.dot(x,z),np.dot(x,y2))
 
-    def check_object_casting_debug(self, level=rlevel):
-        def rs():
-            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 = np.ones([484,286])



More information about the Numpy-svn mailing list