From 07bf33fbf5be8143aab037dc65aba3086f8badf6 Mon Sep 17 00:00:00 2001 From: Mike Taves Date: Wed, 5 Feb 2020 08:21:51 +1300 Subject: 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) --- numpy/tests/test_scripts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/tests/test_scripts.py') diff --git a/numpy/tests/test_scripts.py b/numpy/tests/test_scripts.py index 658606f82..a0f2ba70a 100644 --- a/numpy/tests/test_scripts.py +++ b/numpy/tests/test_scripts.py @@ -9,7 +9,7 @@ from os.path import join as pathjoin, isfile, dirname import subprocess import numpy as np -from numpy.testing import assert_, assert_equal +from numpy.testing import assert_equal is_inplace = isfile(pathjoin(dirname(np.__file__), '..', 'setup.py')) -- cgit v1.2.1