summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_winconsoleio.py
diff options
context:
space:
mode:
authorHai Shi <shihai1992@gmail.com>2020-08-07 15:18:38 (GMT)
committerGitHub <noreply@github.com>2020-08-07 15:18:38 (GMT)
commit598a951844122678de2596dbc1e0e09e2be65fd2 (patch)
tree23e7f7765fd015e838382e443f39269a2745fbc4 /Lib/test/test_winconsoleio.py
parent46e19b61d31ba99f049258efa4ff1334856a3643 (diff)
downloadcpython-598a951844122678de2596dbc1e0e09e2be65fd2.zip
cpython-598a951844122678de2596dbc1e0e09e2be65fd2.tar.gz
cpython-598a951844122678de2596dbc1e0e09e2be65fd2.tar.bz2
bpo-40275: Use new test.support helper submodules in tests (GH-21764)
Diffstat (limited to 'Lib/test/test_winconsoleio.py')
-rw-r--r--Lib/test/test_winconsoleio.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_winconsoleio.py b/Lib/test/test_winconsoleio.py
index a44f7bb..1807e47 100644
--- a/Lib/test/test_winconsoleio.py
+++ b/Lib/test/test_winconsoleio.py
@@ -6,7 +6,7 @@ import os
import sys
import tempfile
import unittest
-from test import support
+from test.support import os_helper
if sys.platform != 'win32':
raise unittest.SkipTest("test only relevant on win32")
@@ -109,7 +109,7 @@ class WindowsConsoleIOTests(unittest.TestCase):
def test_conout_path(self):
temp_path = tempfile.mkdtemp()
- self.addCleanup(support.rmtree, temp_path)
+ self.addCleanup(os_helper.rmtree, temp_path)
conout_path = os.path.join(temp_path, 'CONOUT$')