[Numpy-svn] r6523 - trunk/numpy/linalg/tests

numpy-svn@scip... numpy-svn@scip...
Mon Mar 2 08:18:05 CST 2009


Author: cdavid
Date: 2009-03-02 08:18:01 -0600 (Mon, 02 Mar 2009)
New Revision: 6523

Modified:
   trunk/numpy/linalg/tests/test_linalg.py
Log:
rename check_empty method to test_, so that is is picked up by nose.

Modified: trunk/numpy/linalg/tests/test_linalg.py
===================================================================
--- trunk/numpy/linalg/tests/test_linalg.py	2009-03-02 14:17:43 UTC (rev 6522)
+++ trunk/numpy/linalg/tests/test_linalg.py	2009-03-02 14:18:01 UTC (rev 6523)
@@ -258,7 +258,7 @@
         assert_almost_equal(ev, evalues)
 
 class TestNorm(TestCase):
-    def check_empty(self):
+    def test_empty(self):
         assert_equal(norm([]), 0.0)
         assert_equal(norm(array([], dtype = double)), 0.0)
         assert_equal(norm(atleast_2d(array([], dtype = double))), 0.0)



More information about the Numpy-svn mailing list