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

scipy-svn at scipy.org scipy-svn at scipy.org
Wed Jan 7 09:51:51 EST 2009


Author: cdavid
Date: 2009-01-07 08:51:19 -0600 (Wed, 07 Jan 2009)
New Revision: 5359

Modified:
   trunk/scipy/fftpack/tests/test_basic.py
Log:
Fix test.

Modified: trunk/scipy/fftpack/tests/test_basic.py
===================================================================
--- trunk/scipy/fftpack/tests/test_basic.py	2009-01-07 14:50:47 UTC (rev 5358)
+++ trunk/scipy/fftpack/tests/test_basic.py	2009-01-07 14:51:19 UTC (rev 5359)
@@ -232,7 +232,7 @@
 
     def test_definition(self):
         for t in [[1, 2, 3, 4, 1, 2, 3, 4], [1, 2, 3, 4, 1, 2, 3, 4, 5]]:
-            x = np.array([1,2,3,4,1,2,3,4], dtype=self.rdt)
+            x = np.array(t, dtype=self.rdt)
             y = rfft(x)
             y1 = direct_rdft(x)
             assert_array_almost_equal(y,y1)




More information about the Scipy-svn mailing list