summaryrefslogtreecommitdiff
path: root/Lib/test/libregrtest/main.py
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-07-02 13:34:55 +0200
committerGitHub <noreply@github.com>2019-07-02 13:34:55 +0200
commitc45e0d58bc0f949dd5db3aa9035e27e032b19ca1 (patch)
tree3391212bc1fc535c7fe766fdcf4ab4e8e63ec58a /Lib/test/libregrtest/main.py
parentc53173aa00689aa1be17ce5406289718f6b30532 (diff)
downloadcpython-git-revert-14522-remove_unused_imports37.tar.gz
Revert "Remove unused imports in tests (GH-14518) (GH-14522)"revert-14522-remove_unused_imports37
This reverts commit e34b5f4d6483187969d5149c801d056b72ef2ddb.
Diffstat (limited to 'Lib/test/libregrtest/main.py')
-rw-r--r--Lib/test/libregrtest/main.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/libregrtest/main.py b/Lib/test/libregrtest/main.py
index e2274254fd..1dfbe47a2f 100644
--- a/Lib/test/libregrtest/main.py
+++ b/Lib/test/libregrtest/main.py
@@ -587,6 +587,7 @@ class Regrtest:
def cleanup(self):
import glob
+ import shutil
path = os.path.join(self.tmp_dir, 'test_python_*')
print("Cleanup %s directory" % self.tmp_dir)