[Scipy-tickets] [SciPy] #342: clean up testing

SciPy scipy-tickets at scipy.net
Mon Jan 8 15:28:06 CST 2007


#342: clean up testing
----------------------------+-----------------------------------------------
 Reporter:  jarrod.millman  |        Owner:  jarrod.millman
     Type:  task            |       Status:  new           
 Priority:  normal          |    Milestone:                
Component:  Other           |      Version:                
 Severity:  normal          |   Resolution:                
 Keywords:                  |  
----------------------------+-----------------------------------------------
Comment (by jarrod.millman):

 The Numpy testing tools should be cleaned up as well.  First, the
 docstring needs to be updated:
 http://projects.scipy.org/scipy/numpy/ticket/415

 Also, {{{ScipyTest}}} should be deprecated.  Currently, {{{ScipyTest =
 NumpyTest}}} in {{{numpy/testing/numpytest.py}}}.  Instead we should have
 {{{ScipyTest}}} be a small wrapper, which raises a deprecation warning and
 then calls {{{NumpyTest}}}.  Something like:
 {{{
 class ScipyTest(NumpyTest):
     def __init__(self, package=None):
         warnings.warn("ScipyTest is now called NumpyTest; please update
 your code",
                          DeprecationWarning)
         NumpyTest.__init__(self, package)
 }}}

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


More information about the Scipy-tickets mailing list