summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_support.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_support.py')
-rw-r--r--Lib/test/test_support.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_support.py b/Lib/test/test_support.py
index 5222633..e084f3b 100644
--- a/Lib/test/test_support.py
+++ b/Lib/test/test_support.py
@@ -8,6 +8,7 @@ import errno
import functools
import gc
import socket
+import stat
import sys
import os
import platform
@@ -248,7 +249,6 @@ else:
_rmdir = os.rmdir
def _rmtree(path):
- import stat
try:
shutil.rmtree(path)
return