summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Wieser <wieser.eric@gmail.com>2018-09-26 23:02:37 -0700
committerGitHub <noreply@github.com>2018-09-26 23:02:37 -0700
commit1109ad0187ed684a8516fe0a595a851a3d7ce305 (patch)
treedad79a02a524d65f600b106bdeb43fb3d15fee42
parentd382a5462ebd27af90d6eae74e7b9e2136febd41 (diff)
parent46083ffa0e8e6ee3985db4e37a1498d73e6e719b (diff)
downloadnumpy-1109ad0187ed684a8516fe0a595a851a3d7ce305.tar.gz
Merge pull request #12041 from mattip/flake8-cleanups2
MAINT: remove duplicate imports
-rw-r--r--numpy/core/tests/test_numeric.py2
-rw-r--r--numpy/f2py/tests/test_array_from_pyobj.py2
2 files changed, 1 insertions, 3 deletions
diff --git a/numpy/core/tests/test_numeric.py b/numpy/core/tests/test_numeric.py
index 7e2d6d1d1..f264c4ab0 100644
--- a/numpy/core/tests/test_numeric.py
+++ b/numpy/core/tests/test_numeric.py
@@ -13,7 +13,7 @@ from numpy.random import rand, randint, randn
from numpy.testing import (
assert_, assert_equal, assert_raises, assert_raises_regex,
assert_array_equal, assert_almost_equal, assert_array_almost_equal,
- assert_raises, suppress_warnings, HAS_REFCOUNT
+ suppress_warnings, HAS_REFCOUNT
)
diff --git a/numpy/f2py/tests/test_array_from_pyobj.py b/numpy/f2py/tests/test_array_from_pyobj.py
index 6b244611c..a80090185 100644
--- a/numpy/f2py/tests/test_array_from_pyobj.py
+++ b/numpy/f2py/tests/test_array_from_pyobj.py
@@ -5,8 +5,6 @@ import sys
import copy
import pytest
-import pytest
-
from numpy import (
array, alltrue, ndarray, zeros, dtype, intp, clongdouble
)