[Scipy-svn] r4908 - trunk/scipy/fftpack/tests

scipy-svn at scipy.org scipy-svn at scipy.org
Sun Nov 2 03:53:19 EST 2008


Author: cdavid
Date: 2008-11-02 02:53:10 -0600 (Sun, 02 Nov 2008)
New Revision: 4908

Modified:
   trunk/scipy/fftpack/tests/test_basic.py
Log:
Fix fftn test: shape argument in reference and tested call was different.

Modified: trunk/scipy/fftpack/tests/test_basic.py
===================================================================
--- trunk/scipy/fftpack/tests/test_basic.py	2008-11-02 08:52:52 UTC (rev 4907)
+++ trunk/scipy/fftpack/tests/test_basic.py	2008-11-02 08:53:10 UTC (rev 4908)
@@ -365,7 +365,7 @@
         assert_array_almost_equal(y, fft(x, axis=-1, n=8))
 
         x = numpy.random.random((10, 5, 3, 7))
-        y = fftn(x, axes=(-2,), shape=(4,))
+        y = fftn(x, axes=(-2,), shape=(8,))
         assert_array_almost_equal(y, fft(x, axis=-2, n=8))
 
     def test_shape_argument_more(self):




More information about the Scipy-svn mailing list