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

scipy-svn@scip... scipy-svn@scip...
Wed Jan 7 08:49:01 CST 2009


Author: cdavid
Date: 2009-01-07 08:48:50 -0600 (Wed, 07 Jan 2009)
New Revision: 5354

Modified:
   trunk/scipy/fftpack/tests/test_basic.py
Log:
Skip not yet implemented single prec cases.

Modified: trunk/scipy/fftpack/tests/test_basic.py
===================================================================
--- trunk/scipy/fftpack/tests/test_basic.py	2009-01-07 14:48:20 UTC (rev 5353)
+++ trunk/scipy/fftpack/tests/test_basic.py	2009-01-07 14:48:50 UTC (rev 5354)
@@ -145,6 +145,10 @@
         self.cdt = np.complex64
         self.rdt = np.float32
 
+    @dec.skipif(True, "Single precision real input not implemented yet")
+    def test_n_argument_real(self):
+        pass
+
 class _TestIFFTBase(TestCase):
     def test_definition(self):
         x = np.array([1,2,3,4+1j,1,2,3,4+2j], self.cdt)
@@ -156,12 +160,15 @@
 
         x = np.array([1,2,3,4+0j,5], self.cdt)
         assert_array_almost_equal(ifft(x),direct_idft(x))
+
+    def test_definition_real(self):
         x = np.array([1,2,3,4,1,2,3,4], self.rdt)
         y = ifft(x)
         self.failUnless(y.dtype == self.cdt,
                 "Output dtype is %s, expected %s" % (y.dtype, self.cdt))
         y1 = direct_idft(x)
         assert_array_almost_equal(y,y1)
+
         x = np.array([1,2,3,4,5], dtype=self.rdt)
         self.failUnless(y.dtype == self.cdt,
                 "Output dtype is %s, expected %s" % (y.dtype, self.cdt))
@@ -212,7 +219,15 @@
         self.cdt = np.complex64
         self.rdt = np.float32
 
+    @dec.skipif(True, "Single precision real input not implemented yet")
+    def test_random_real(self):
+        pass
 
+    @dec.skipif(True, "Single precision real input not implemented yet")
+    def test_definition_real(self):
+        pass
+
+
 class TestRfft(TestCase):
 
     def test_definition(self):



More information about the Scipy-svn mailing list