diff options
author | Hai Shi <shihai1992@gmail.com> | 2020-06-25 17:17:57 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-25 17:17:57 (GMT) |
commit | 847f94f47b104aec678d1d2a2d8fe23d817f375e (patch) | |
tree | 3b247098fefe734937e9ed4e5a7388ab4da5c284 /Lib/distutils/tests/test_file_util.py | |
parent | 700cfa8c90a90016638bac13c4efd03786b2b2a0 (diff) | |
download | cpython-847f94f47b104aec678d1d2a2d8fe23d817f375e.zip cpython-847f94f47b104aec678d1d2a2d8fe23d817f375e.tar.gz cpython-847f94f47b104aec678d1d2a2d8fe23d817f375e.tar.bz2 |
bpo-40275: Use new test.support helper submodules in tests (GH-21151)
Use new test.support helper submodules in tests:
* distutils tests
* test_buffer
* test_compile
* test_filecmp
* test_fileinput
* test_readline
* test_smtpnet
* test_structmembers
* test_tools
Diffstat (limited to 'Lib/distutils/tests/test_file_util.py')
-rw-r--r-- | Lib/distutils/tests/test_file_util.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/distutils/tests/test_file_util.py b/Lib/distutils/tests/test_file_util.py index a4e2d02..c7783b8 100644 --- a/Lib/distutils/tests/test_file_util.py +++ b/Lib/distutils/tests/test_file_util.py @@ -8,7 +8,9 @@ from distutils.file_util import move_file, copy_file from distutils import log from distutils.tests import support from distutils.errors import DistutilsFileError -from test.support import run_unittest, unlink +from test.support import run_unittest +from test.support.os_helper import unlink + class FileUtilTestCase(support.TempdirManager, unittest.TestCase): |