[Scipy-svn] r5584 - in trunk/scipy: sparse/tests spatial/tests

scipy-svn at scipy.org scipy-svn at scipy.org
Sat Feb 21 11:59:34 EST 2009


Author: peridot
Date: 2009-02-21 10:59:02 -0600 (Sat, 21 Feb 2009)
New Revision: 5584

Modified:
   trunk/scipy/sparse/tests/test_base.py
   trunk/scipy/spatial/tests/test_kdtree.py
Log:
Correction: the bug fixed is #870


Modified: trunk/scipy/sparse/tests/test_base.py
===================================================================
--- trunk/scipy/sparse/tests/test_base.py	2009-02-21 16:57:32 UTC (rev 5583)
+++ trunk/scipy/sparse/tests/test_base.py	2009-02-21 16:59:02 UTC (rev 5584)
@@ -600,7 +600,7 @@
 class _TestGetSet:
     def test_setelement(self):
         A = self.spmatrix((3,4))
-        A[ 0, 0] = 0 # bug 859
+        A[ 0, 0] = 0 # bug 870
         A[ 1, 2] = 4.0
         A[ 0, 1] = 3
         A[ 2, 0] = 2.0

Modified: trunk/scipy/spatial/tests/test_kdtree.py
===================================================================
--- trunk/scipy/spatial/tests/test_kdtree.py	2009-02-21 16:57:32 UTC (rev 5583)
+++ trunk/scipy/spatial/tests/test_kdtree.py	2009-02-21 16:59:02 UTC (rev 5584)
@@ -404,7 +404,7 @@
             assert j in r[i]
 
     def test_zero_distance(self):
-        M = self.T1.sparse_distance_matrix(self.T1, self.r) # raises an exception for bug 859
+        M = self.T1.sparse_distance_matrix(self.T1, self.r) # raises an exception for bug 870
 
 def test_distance_matrix():
     m = 10




More information about the Scipy-svn mailing list