From 8b6c850cf3e6ec664705e9823014e59edc1a26e7 Mon Sep 17 00:00:00 2001 From: Chris Jordan-Squire Date: Thu, 1 Sep 2011 15:14:05 -0500 Subject: ENH: New sample function, bugs in tests fixed --- numpy/fft/tests/test_fftpack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/fft/tests/test_fftpack.py') 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)) -- cgit v1.2.1