summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
Diffstat (limited to 'numpy')
-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
)