summaryrefslogtreecommitdiff
path: root/numpy/lib/utils.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2018-09-30 16:10:59 -0500
committerGitHub <noreply@github.com>2018-09-30 16:10:59 -0500
commitcd4fb52e889394125a1bb185b54ff8ca8800c5b1 (patch)
treede6b308ca5ae0c305fe1e5d4f71557aa07c5bfc8 /numpy/lib/utils.py
parentcfe0298f0cce07bfd583894833850a498b449c7b (diff)
parentb88a6785b44844b0b4054d9c77aa4a7d7b6bb1ff (diff)
downloadnumpy-cd4fb52e889394125a1bb185b54ff8ca8800c5b1.tar.gz
Merge pull request #12061 from ceh-forks/remove-reduntant-imports
MAINT: remove redundant imports
Diffstat (limited to 'numpy/lib/utils.py')
-rw-r--r--numpy/lib/utils.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/numpy/lib/utils.py b/numpy/lib/utils.py
index 9678bab76..249873654 100644
--- a/numpy/lib/utils.py
+++ b/numpy/lib/utils.py
@@ -80,7 +80,6 @@ class _Deprecate(object):
new_name = self.new_name
message = self.message
- import warnings
if old_name is None:
try:
old_name = func.__name__