[Scipy-svn] r5022 - trunk/scipy/cluster/tests

scipy-svn@scip... scipy-svn@scip...
Fri Nov 7 16:49:09 CST 2008


Author: damian.eads
Date: 2008-11-07 16:49:07 -0600 (Fri, 07 Nov 2008)
New Revision: 5022

Modified:
   trunk/scipy/cluster/tests/test_hierarchy.py
Log:
Minor tweak in test function.

Modified: trunk/scipy/cluster/tests/test_hierarchy.py
===================================================================
--- trunk/scipy/cluster/tests/test_hierarchy.py	2008-11-07 22:46:45 UTC (rev 5021)
+++ trunk/scipy/cluster/tests/test_hierarchy.py	2008-11-07 22:49:07 UTC (rev 5022)
@@ -297,7 +297,7 @@
 
     # with single linkage and Q data set
 
-    def test_single_inconsistent_tdist_1(self):
+    def test_single_inconsistent_Q_1(self):
         "Testing inconsistency matrix calculation (depth=1, dataset=Q) with single linkage."
         X = eo['Q-X']
         Z = linkage(X, 'single', 'euclidean')
@@ -307,7 +307,7 @@
         print np.abs(R - Rright).max()
         self.failUnless(within_tol(R, Rright, eps))
 
-    def test_single_inconsistent_tdist_2(self):
+    def test_single_inconsistent_Q_2(self):
         "Testing inconsistency matrix calculation (depth=2, dataset=Q) with single linkage."
         X = eo['Q-X']
         Z = linkage(X, 'single', 'euclidean')
@@ -317,7 +317,7 @@
         print np.abs(R - Rright).max()
         self.failUnless(within_tol(R, Rright, eps))
 
-    def test_single_inconsistent_tdist_3(self):
+    def test_single_inconsistent_Q_3(self):
         "Testing inconsistency matrix calculation (depth=3, dataset=Q) with single linkage."
         X = eo['Q-X']
         Z = linkage(X, 'single', 'euclidean')
@@ -327,7 +327,7 @@
         print np.abs(R - Rright).max()
         self.failUnless(within_tol(R, Rright, eps))
 
-    def test_single_inconsistent_tdist_4(self):
+    def test_single_inconsistent_Q_4(self):
         "Testing inconsistency matrix calculation (depth=4, dataset=Q) with single linkage."
         X = eo['Q-X']
         Z = linkage(X, 'single', 'euclidean')



More information about the Scipy-svn mailing list