[Scipy-svn] r5388 - trunk/scipy/spatial/tests

scipy-svn@scip... scipy-svn@scip...
Thu Jan 8 03:23:30 CST 2009


Author: cdavid
Date: 2009-01-08 03:23:19 -0600 (Thu, 08 Jan 2009)
New Revision: 5388

Modified:
   trunk/scipy/spatial/tests/test_distance.py
Log:
Remove print statement in tests.

Modified: trunk/scipy/spatial/tests/test_distance.py
===================================================================
--- trunk/scipy/spatial/tests/test_distance.py	2009-01-08 09:22:52 UTC (rev 5387)
+++ trunk/scipy/spatial/tests/test_distance.py	2009-01-08 09:23:19 UTC (rev 5388)
@@ -1467,7 +1467,6 @@
         a = set([])
         for n in xrange(2, 16):
             a.add(n*(n-1)/2)
-        print a
         for i in xrange(5, 105):
             if i not in a:
                 self.failUnlessRaises(ValueError, self.bad_y, i)
@@ -1690,3 +1689,6 @@
     def correct_n_by_n(self, n):
         y = np.random.rand(n*(n-1)/2)
         return y
+
+if __name__=="__main__":
+    run_module_suite()



More information about the Scipy-svn mailing list