summaryrefslogtreecommitdiff
path: root/numpy/fft
diff options
context:
space:
mode:
authorStefan van der Walt <stefan@sun.ac.za>2006-11-20 07:06:48 +0000
committerStefan van der Walt <stefan@sun.ac.za>2006-11-20 07:06:48 +0000
commit1ad56e631c29869d127931b555d0b366f7e75641 (patch)
tree25c76ab78c222cfd2ae2a36bbef46b18e766d66e /numpy/fft
parent8fe987afb4de13e9160191917b6b3ec8b79adfa3 (diff)
downloadpython-numpy-1ad56e631c29869d127931b555d0b366f7e75641.tar.gz
python-numpy-1ad56e631c29869d127931b555d0b366f7e75641.tar.bz2
python-numpy-1ad56e631c29869d127931b555d0b366f7e75641.zip
Add test for fftpack.
Diffstat (limited to 'numpy/fft')
-rw-r--r--numpy/fft/tests/test_fftpack.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/numpy/fft/tests/test_fftpack.py b/numpy/fft/tests/test_fftpack.py
new file mode 100644
index 000000000..0e38fb3ea
--- /dev/null
+++ b/numpy/fft/tests/test_fftpack.py
@@ -0,0 +1,12 @@
+import sys
+from numpy.testing import *
+set_package_path()
+from numpy.fft import *
+restore_path()
+
+class test_fftshift(NumpyTestCase):
+ def check_fft_n(self):
+ self.failUnlessRaises(ValueError,fft,[1,2,3],0)
+
+if __name__ == "__main__":
+ NumpyTest().run()