From 65f1af041616749cd76b578b1da235a6c2784ce0 Mon Sep 17 00:00:00 2001 From: Charles Harris Date: Sat, 3 Sep 2016 11:34:40 -0600 Subject: [PATCH] MAINT: Remove leftover imp module imports. There were two remaining imports of the deprecated imp module, neither of which seems to have been used beyond the import. Closes #5997. --- numpy/core/setup.py | 1 - runtests.py | 1 - 2 files changed, 2 deletions(-) diff --git a/numpy/core/setup.py b/numpy/core/setup.py index bec35848042b..0b055dba460d 100644 --- a/numpy/core/setup.py +++ b/numpy/core/setup.py @@ -1,6 +1,5 @@ from __future__ import division, print_function -import imp import os import sys import pickle diff --git a/runtests.py b/runtests.py index 9008950e9c04..7be76e46de6b 100755 --- a/runtests.py +++ b/runtests.py @@ -60,7 +60,6 @@ import shutil import subprocess import time -import imp from argparse import ArgumentParser, REMAINDER ROOT_DIR = os.path.abspath(os.path.join(os.path.dirname(__file__)))