[Scipy-svn] r6914 - trunk/scipy/lib/lapack/tests

scipy-svn@scip... scipy-svn@scip...
Sat Nov 20 00:25:29 CST 2010


Author: warren.weckesser
Date: 2010-11-20 00:25:29 -0600 (Sat, 20 Nov 2010)
New Revision: 6914

Modified:
   trunk/scipy/lib/lapack/tests/test_gesv.py
Log:
ENH: lib: update 'raise' statements

Modified: trunk/scipy/lib/lapack/tests/test_gesv.py
===================================================================
--- trunk/scipy/lib/lapack/tests/test_gesv.py	2010-11-20 06:20:11 UTC (rev 6913)
+++ trunk/scipy/lib/lapack/tests/test_gesv.py	2010-11-20 06:25:29 UTC (rev 6914)
@@ -34,7 +34,7 @@
                 assert_array_almost_equal(np.dot(b,np.dot(a,v[:,i])),
                                           w[i]*v[:,i], decimal=PREC[tp] - 1)
             else:
-                raise ValueError, `itype`
+                raise ValueError(itype)
 
     @dec.skipif(FLAPACK_IS_EMPTY, "Flapack empty, skip flapack test")
     def test_ssygv_1(self):



More information about the Scipy-svn mailing list