[Scipy-tickets] [SciPy] #1197: scipy.stats.tests test_discrete_basic.py uses plain assert

SciPy Trac scipy-tickets@scipy....
Sun Sep 12 17:14:50 CDT 2010


#1197: scipy.stats.tests  test_discrete_basic.py uses plain assert
-------------------------+--------------------------------------------------
 Reporter:  josefpktd    |       Owner:  somebody
     Type:  task         |      Status:  new     
 Priority:  low          |   Milestone:  0.9.0   
Component:  scipy.stats  |     Version:  0.7.0   
 Keywords:               |  
-------------------------+--------------------------------------------------

Comment(by warren.weckesser):

 r6786 - r6803 eliminated plain asserts in all packages except sparse and
 weave.  I also removed the use of 'from numpy.testing import *' (and any
 other uses of 'from <module> import *') in the tests.  This allows
 pyflakes to be run on the tests, which often reveals bugs in the tests.

 I'm not sure how soon I'll have time to finish off sparse and weave, so if
 anyone gets the urge to finish this task, go for it.

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


More information about the Scipy-tickets mailing list