Skip to content

Commit 452c70a

Browse files
committed
Adjust imports for 3.10
1 parent 57edaba commit 452c70a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Lib/test/test_posixpath.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import os
2+
import sys
23
import posixpath
34
import unittest
45
from functools import partial

Lib/test/test_tarfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3328,7 +3328,7 @@ def check_context(self, tar, filter, *, check_flag=True, ignored_trees=()):
33283328
self.expected_paths = set()
33293329
else:
33303330
for ignored_tree in ignored_trees:
3331-
os_helper.rmtree((self.destdir / ignored_tree).resolve())
3331+
support.rmtree((self.destdir / ignored_tree).resolve())
33323332
self.raised_exception = None
33333333
self.reraise_exception = False
33343334
self.expected_paths = set(self.outerdir.glob('**/*'))

0 commit comments

Comments
 (0)