[Scipy-svn] r5095 - trunk/scipy/stats/tests

scipy-svn@scip... scipy-svn@scip...
Thu Nov 13 15:47:37 CST 2008


Author: josef
Date: 2008-11-13 15:47:30 -0600 (Thu, 13 Nov 2008)
New Revision: 5095

Modified:
   trunk/scipy/stats/tests/test_continuous_basic.py
Log:
add missing kstests for continuous rvs

Modified: trunk/scipy/stats/tests/test_continuous_basic.py
===================================================================
--- trunk/scipy/stats/tests/test_continuous_basic.py	2008-11-13 21:23:23 UTC (rev 5094)
+++ trunk/scipy/stats/tests/test_continuous_basic.py	2008-11-13 21:47:30 UTC (rev 5095)
@@ -64,6 +64,7 @@
     ['invweibull', (0.58847112119264788,)],
     ['johnsonsb', (4.3172675099141058, 3.1837781130785063)],
     ['johnsonsu', (2.554395574161155, 2.2482281679651965)],
+    ['ksone', (22,)],  # new added
     ['kstwobign', ()],
     ['laplace', ()],
     ['levy', ()],
@@ -168,9 +169,14 @@
     npt.assert_almost_equal(pdfv, cdfdiff,
                 decimal=DECIMAL, err_msg= msg + ' - cdf-pdf relationship')
 
+distmissing = ['wald', 'gausshyper', 'genexpon', 'rv_continuous',
+    'loglaplace', 'rdist', 'semicircular', 'invweibull', 'ksone',
+    'cosine', 'kstwobign', 'truncnorm', 'mielke', 'recipinvgauss', 'levy',
+    'johnsonsu', 'levy_l', 'powernorm', 'wrapcauchy',
+    'johnsonsb', 'truncexpon', 'rice', 'invnorm', 'invgamma',
+    'powerlognorm']
 
-
-def _est_all_distributions():
+def test_missing_distributions():
     #test from scipy.stats.tests
     for dist, args in distcont:
         distfunc = getattr(stats, dist)



More information about the Scipy-svn mailing list