Skip to content

Commit 398bc76

Browse files
committed
Issue python#28666: Fix stat import
1 parent b999915 commit 398bc76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_support.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
import functools
99
import gc
1010
import socket
11+
import stat
1112
import sys
1213
import os
1314
import platform
@@ -248,7 +249,6 @@ def _rmtree_inner(path):
248249
_rmdir = os.rmdir
249250

250251
def _rmtree(path):
251-
import stat
252252
try:
253253
shutil.rmtree(path)
254254
return

0 commit comments

Comments
 (0)