[SciPy-user] numpy unittests
David Cournapeau
david at ar.media.kyoto-u.ac.jp
Wed Jun 13 06:13:31 EDT 2007
emilia12 at mail.bg wrote:
> helo David, list
>
> i am using win_xp, python-2.5.1, numpy-1.0.3.win32-py2.5,
> scipy-0.5.2.win32-py2.5
> and the reason for this mail is these warnings:
>
> C:\Python25\lib\site-packages\scipy\misc\__init__.py:25:
> DeprecationWarning: ScipyTest is now called NumpyTest;
> please update your code
> test = ScipyTest().test
> C:\Python25\lib\site-packages\scipy\linalg\__init__.py:32:
> DeprecationWarning: ScipyTest is now called NumpyTest;
> please update your code
> test = ScipyTest().test
> C:\Python25\lib\site-packages\scipy\ndimage\__init__.py:40:
> DeprecationWarning: ScipyTest is now called NumpyTest;
> please update your code
> test = ScipyTest().test
> C:\Python25\lib\site-packages\scipy\sparse\__init__.py:9:
> DeprecationWarning: ScipyTest is now called NumpyTest;
> please update your code
> test = ScipyTest().test
> C:\Python25\lib\site-packages\scipy\io\__init__.py:20:
> DeprecationWarning: ScipyTest is now called NumpyTest;
> please update your code
> test = ScipyTest().test
> C:\Python25\lib\site-packages\scipy\lib\__init__.py:5:
> DeprecationWarning: ScipyTest is now called NumpyTest;
> please update your code
> test = ScipyTest().test
> C:\Python25\lib\site-packages\scipy\linsolve\umfpack\__init__.py:7:
> DeprecationWarning: ScipyTest is now called NumpyTest;
> please update your code
> test = ScipyTest().test
> C:\Python25\lib\site-packages\scipy\linsolve\__init__.py:13:
> DeprecationWarning: ScipyTest is now called NumpyTest;
> please update your code
> test = ScipyTest().test
> C:\Python25\lib\site-packages\scipy\interpolate\__init__.py:15:
> DeprecationWarning: ScipyTest is now called NumpyTest;
> please update your code
> test = ScipyTest().test
> C:\Python25\lib\site-packages\scipy\optimize\__init__.py:17:
> DeprecationWarning: ScipyTest is now called NumpyTest;
> please update your code
> test = ScipyTest().test
> C:\Python25\lib\site-packages\scipy\special\__init__.py:22:
> DeprecationWarning: ScipyTest is now called NumpyTest;
> please update your code
> test = ScipyTest().test
> C:\Python25\lib\site-packages\scipy\stats\__init__.py:15:
> DeprecationWarning: ScipyTest is now called NumpyTest;
> please update your code
> test = ScipyTest().test
> C:\Python25\lib\site-packages\scipy\fftpack\__init__.py:21:
> DeprecationWarning: ScipyTest is now called NumpyTest;
> please update your code
> test = ScipyTest().test
> C:\Python25\lib\site-packages\scipy\integrate\__init__.py:16:
> DeprecationWarning: ScipyTest is now called NumpyTest;
> please update your code
> test = ScipyTest().test
> C:\Python25\lib\site-packages\scipy\signal\__init__.py:17:
> DeprecationWarning: ScipyTest is now called NumpyTest;
> please update your code
> test = ScipyTest().test
> C:\Python25\lib\site-packages\scipy\maxentropy\__init__.py:12:
> DeprecationWarning: ScipyTest is now called NumpyTest;
> please update your code
> test = ScipyTest().test
Oh, ok, this is harmless. Basically, there was a change in unit testing
in numpy, and those changes were made in scipy source code, but this has
been done (relatively) recently, and hence not yet present in the
binaries, I guess, provided for windows.
The tests are not really run, the warnings happen when importing the
different packages.
David
More information about the SciPy-User
mailing list