aboutsummaryrefslogtreecommitdiffstats
path: root/tests/support.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/support.py')
-rw-r--r--tests/support.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/support.py b/tests/support.py
index 259af882..23b907b6 100644
--- a/tests/support.py
+++ b/tests/support.py
@@ -6,7 +6,7 @@ import tempfile
import unittest
import sysconfig
from copy import deepcopy
-import test.support
+from test.support import os_helper
from distutils import log
from distutils.log import DEBUG, INFO, WARN, ERROR, FATAL
@@ -64,7 +64,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.