[Numpy-tickets] [NumPy] #421: {{{ScipyTest}}} should be deprecated.
NumPy
numpy-tickets at scipy.net
Fri Jan 12 05:28:38 CST 2007
#421: {{{ScipyTest}}} should be deprecated.
----------------------------+-----------------------------------------------
Reporter: jarrod.millman | Owner: somebody
Type: task | Status: new
Priority: normal | Milestone: 1.0.2 Release
Component: numpy.testing | Version:
Severity: normal | Keywords:
----------------------------+-----------------------------------------------
{{{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/numpy/ticket/421>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.
More information about the Numpy-tickets
mailing list