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

scipy-svn@scip... scipy-svn@scip...
Sat Sep 11 20:01:00 CDT 2010


Author: ptvirtan
Date: 2010-09-11 20:01:00 -0500 (Sat, 11 Sep 2010)
New Revision: 6762

Modified:
   trunk/scipy/stats/tests/test_continuous_basic.py
Log:
TST: stats: fix test_cont_basic check_distribution_rvs test portion

Modified: trunk/scipy/stats/tests/test_continuous_basic.py
===================================================================
--- trunk/scipy/stats/tests/test_continuous_basic.py	2010-09-12 01:00:45 UTC (rev 6761)
+++ trunk/scipy/stats/tests/test_continuous_basic.py	2010-09-12 01:01:00 UTC (rev 6762)
@@ -181,7 +181,7 @@
         yield check_sf_logsf, distfn, arg, distname
         if distname in distmissing:
             alpha = 0.01
- #           yield check_distribution_rvs, dist, args, alpha, rvs
+            yield check_distribution_rvs, distname, arg, alpha, rvs
 
 @npt.dec.slow
 def test_cont_basic_slow():
@@ -211,7 +211,7 @@
         #yield check_oth, distfn, arg # is still missing
         if distname in distmissing:
             alpha = 0.01
-            yield check_distribution_rvs, dist, args, alpha, rvs
+            yield check_distribution_rvs, distname, arg, alpha, rvs
 
 def check_moment(distfn, arg, m, v, msg):
     m1  = distfn.moment(1,*arg)



More information about the Scipy-svn mailing list