[Scipy-svn] r4779 - branches/spatial/scipy/spatial/tests

scipy-svn at scipy.org scipy-svn at scipy.org
Sun Oct 5 04:01:28 EDT 2008


Author: peridot
Date: 2008-10-05 03:01:17 -0500 (Sun, 05 Oct 2008)
New Revision: 4779

Modified:
   branches/spatial/scipy/spatial/tests/test_kdtree.py
Log:
Added boilerplate to allow running all tests in this module.


Modified: branches/spatial/scipy/spatial/tests/test_kdtree.py
===================================================================
--- branches/spatial/scipy/spatial/tests/test_kdtree.py	2008-10-05 07:59:51 UTC (rev 4778)
+++ branches/spatial/scipy/spatial/tests/test_kdtree.py	2008-10-05 08:01:17 UTC (rev 4779)
@@ -336,3 +336,7 @@
         assert np.all(np.diff(results)>=0)
         for r,result in zip(rs, results):
             assert_equal(self.T1.count_neighbors(self.T2, r), result)
+
+
+if __name__=="__main__":
+    run_module_suite()




More information about the Scipy-svn mailing list