diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2020-07-07 21:22:40 -0400 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2020-07-07 21:22:40 -0400 |
| commit | bbe8e80bcbafff8cf3d135d17a8526c8ac5f4b27 (patch) | |
| tree | e77ebb7f49a52a4efd1421ff75f279a840163dac /distutils/tests/support.py | |
| parent | a21ea47bf0a8bbd79afdbd93b80681f1133aedf0 (diff) | |
| parent | e34d6d8b739a8e0edbdfa324bf3607430aa3ff70 (diff) | |
| download | python-setuptools-git-bbe8e80bcbafff8cf3d135d17a8526c8ac5f4b27.tar.gz | |
Merge branch 'cpython'
Diffstat (limited to 'distutils/tests/support.py')
| -rw-r--r-- | distutils/tests/support.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/distutils/tests/support.py b/distutils/tests/support.py index 259af882..b4410fc9 100644 --- a/distutils/tests/support.py +++ b/distutils/tests/support.py @@ -6,7 +6,8 @@ import tempfile import unittest import sysconfig from copy import deepcopy -import test.support + +from . import py38compat as os_helper from distutils import log from distutils.log import DEBUG, INFO, WARN, ERROR, FATAL @@ -64,7 +65,7 @@ class TempdirManager(object): super().tearDown() while self.tempdirs: tmpdir = self.tempdirs.pop() - test.support.rmtree(tmpdir) + os_helper.rmtree(tmpdir) def mkdtemp(self): """Create a temporary directory that will be cleaned up. |
