summaryrefslogtreecommitdiff
path: root/numpy/fft/tests/test_fftpack.py
diff options
context:
space:
mode:
authorChris Jordan-Squire <cjordan1@uw.edu>2011-09-01 15:14:05 -0500
committerCharles Harris <charlesr.harris@gmail.com>2011-12-16 20:35:44 -0700
commit8b6c850cf3e6ec664705e9823014e59edc1a26e7 (patch)
treed9e0a95456fffbf978da84edd83ea11b13f69a22 /numpy/fft/tests/test_fftpack.py
parent3d0b348450addcc33bd30e9c0b3ea5b10106ab4d (diff)
downloadnumpy-8b6c850cf3e6ec664705e9823014e59edc1a26e7.tar.gz
ENH: New sample function, bugs in tests fixed
Diffstat (limited to 'numpy/fft/tests/test_fftpack.py')
-rw-r--r--numpy/fft/tests/test_fftpack.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/fft/tests/test_fftpack.py b/numpy/fft/tests/test_fftpack.py
index 4f70d3bc5..ceb6a8dd7 100644
--- a/numpy/fft/tests/test_fftpack.py
+++ b/numpy/fft/tests/test_fftpack.py
@@ -14,7 +14,7 @@ class TestFFTShift(TestCase):
class TestFFT1D(TestCase):
def test_basic(self):
- rand = np.random.random
+ rand = np.random.random_sample
x = rand(30) + 1j*rand(30)
assert_array_almost_equal(fft1(x), np.fft.fft(x))