[Scipy-tickets] [SciPy] #1291: stats.discrete distributions hypergeom.sf exception

SciPy Trac scipy-tickets@scipy....
Fri Oct 22 21:38:59 CDT 2010

#1291: stats.discrete distributions hypergeom.sf exception
 Reporter:  josefpktd    |       Owner:  somebody
     Type:  defect       |      Status:  apply   
 Priority:  normal       |   Milestone:  0.9.0   
Component:  scipy.stats  |     Version:  0.7.0   
 Keywords:               |  
Changes (by josefpktd):

  * status:  needs_review => apply


 Thanks, nice idea for a test.

 I don't think we can include a test like this in the test suite, but it
 would be interesting to add it to the test directory, so it can be run
 sometimes manually, especially when adding new methods.
 One caveat of this script: doesn't work on Windows the use of `commands`
 needs to be replaced by `subprocess`.

 We can add a simple test

 to the test suite, but it might not test this bug, because nose doesn't
 run test in reliable sequence (as far as I know).

 The "if cond" can be applied, and for scipy 0.9 the log??? methods should
 also be checked, logpdf, logcdf, logsf and corrected.

 I suggest to leave the ticket open until we have tested all methods for
 all distributions (only once) for problems with no *goodargs.

Ticket URL: <http://projects.scipy.org/scipy/ticket/1291#comment:9>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.

More information about the Scipy-tickets mailing list