summaryrefslogtreecommitdiff
path: root/numpy/fft/tests/test_helper.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2014-07-31 17:39:17 -0600
committerCharles Harris <charlesr.harris@gmail.com>2014-07-31 17:40:40 -0600
commit4e7ae3db32331fc2c73ceb272f54746ae71e6428 (patch)
treecacd6a4f85f35e575f431a444198f8813d9b9376 /numpy/fft/tests/test_helper.py
parent01b0d7e82211b581aaff925e3ccc36cff9ac1895 (diff)
downloadnumpy-4e7ae3db32331fc2c73ceb272f54746ae71e6428.tar.gz
STY: minor PEP8 fixups for numpy/fft.
Diffstat (limited to 'numpy/fft/tests/test_helper.py')
-rw-r--r--numpy/fft/tests/test_helper.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/fft/tests/test_helper.py b/numpy/fft/tests/test_helper.py
index 7eaa99fdb..1a51f8e3a 100644
--- a/numpy/fft/tests/test_helper.py
+++ b/numpy/fft/tests/test_helper.py
@@ -30,8 +30,8 @@ class TestFFTShift(TestCase):
assert_array_almost_equal(fft.ifftshift(fft.fftshift(x)), x)
def test_axes_keyword(self):
- freqs = [[ 0, 1, 2], [ 3, 4, -4], [-3, -2, -1]]
- shifted = [[-1, -3, -2], [ 2, 0, 1], [-4, 3, 4]]
+ freqs = [[0, 1, 2], [3, 4, -4], [-3, -2, -1]]
+ shifted = [[-1, -3, -2], [2, 0, 1], [-4, 3, 4]]
assert_array_almost_equal(fft.fftshift(freqs, axes=(0, 1)), shifted)
assert_array_almost_equal(fft.fftshift(freqs, axes=0),
fft.fftshift(freqs, axes=(0,)))