[Numpy-svn] r8617 - trunk/numpy/lib/tests

numpy-svn@scip... numpy-svn@scip...
Tue Aug 10 12:24:26 CDT 2010


Author: charris
Date: 2010-08-10 12:24:25 -0500 (Tue, 10 Aug 2010)
New Revision: 8617

Modified:
   trunk/numpy/lib/tests/test_twodim_base.py
Log:
BUG: Fix missing 'self' in test cleanups.

Modified: trunk/numpy/lib/tests/test_twodim_base.py
===================================================================
--- trunk/numpy/lib/tests/test_twodim_base.py	2010-08-10 17:24:23 UTC (rev 8616)
+++ trunk/numpy/lib/tests/test_twodim_base.py	2010-08-10 17:24:25 UTC (rev 8617)
@@ -244,7 +244,7 @@
 
 
 class TestTrilIndices(TestCase):
-    def test_tril_indices():
+    def test_tril_indices(self):
         # indices without and with offset
         il1 = tril_indices(4)
         il2 = tril_indices(4, 2)
@@ -284,7 +284,7 @@
 
 
 class TestTriuIndices(TestCase):
-    def test_triu_indices():
+    def test_triu_indices(self):
         iu1 = triu_indices(4)
         iu2 = triu_indices(4, 2)
 



More information about the Numpy-svn mailing list