diff options
| author | Mike Taves <mwtoews@gmail.com> | 2020-02-05 08:21:51 +1300 |
|---|---|---|
| committer | Mike Taves <mwtoews@gmail.com> | 2020-02-06 22:16:23 +1300 |
| commit | 07bf33fbf5be8143aab037dc65aba3086f8badf6 (patch) | |
| tree | 8f48992ca38bafe589ed331f54c43106ba23902d /numpy/fft | |
| parent | a9bc5db4671c6c702e3a8a35fbf31b8d3225fad2 (diff) | |
| download | numpy-07bf33fbf5be8143aab037dc65aba3086f8badf6.tar.gz | |
MAINT: cleanup unused imports; avoid redefinition of imports
* Cleanup unused imports (F401) of mostly standard Python modules,
or some internal but unlikely referenced modules
* Where internal imports are potentially used, mark with noqa
* Avoid redefinition of imports (F811)
Diffstat (limited to 'numpy/fft')
| -rw-r--r-- | numpy/fft/tests/test_helper.py | 2 | ||||
| -rw-r--r-- | numpy/fft/tests/test_pocketfft.py | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/numpy/fft/tests/test_helper.py b/numpy/fft/tests/test_helper.py index 2b457271b..68f5990af 100644 --- a/numpy/fft/tests/test_helper.py +++ b/numpy/fft/tests/test_helper.py @@ -4,7 +4,7 @@ Copied from fftpack.helper by Pearu Peterson, October 2005 """ import numpy as np -from numpy.testing import assert_array_almost_equal, assert_equal +from numpy.testing import assert_array_almost_equal from numpy import fft, pi diff --git a/numpy/fft/tests/test_pocketfft.py b/numpy/fft/tests/test_pocketfft.py index 14f92c081..7c3db0485 100644 --- a/numpy/fft/tests/test_pocketfft.py +++ b/numpy/fft/tests/test_pocketfft.py @@ -5,7 +5,6 @@ from numpy.testing import ( assert_array_equal, assert_raises, assert_allclose ) import threading -import sys import queue |
