diff options
author | Hai Shi <shihai1992@gmail.com> | 2020-08-07 15:18:38 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-07 15:18:38 (GMT) |
commit | 598a951844122678de2596dbc1e0e09e2be65fd2 (patch) | |
tree | 23e7f7765fd015e838382e443f39269a2745fbc4 /Lib/test/test_winconsoleio.py | |
parent | 46e19b61d31ba99f049258efa4ff1334856a3643 (diff) | |
download | cpython-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.py | 4 |
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$') |