From 398bc765750386a25a280c329d61578ad665add9 Mon Sep 17 00:00:00 2001 From: Martin Panter Date: Sun, 20 Nov 2016 23:06:58 +0000 Subject: [PATCH] Issue #28666: Fix stat import --- Lib/test/test_support.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_support.py b/Lib/test/test_support.py index 52226333a6b2..e084f3ba047c 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 -- 2.47.3