diff options
author | Hai Shi <shihai1992@gmail.com> | 2020-06-26 01:17:57 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-25 19:17:57 +0200 |
commit | 847f94f47b104aec678d1d2a2d8fe23d817f375e (patch) | |
tree | 3b247098fefe734937e9ed4e5a7388ab4da5c284 /Lib/distutils/tests/test_archive_util.py | |
parent | 700cfa8c90a90016638bac13c4efd03786b2b2a0 (diff) | |
download | cpython-git-847f94f47b104aec678d1d2a2d8fe23d817f375e.tar.gz |
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_archive_util.py')
-rw-r--r-- | Lib/distutils/tests/test_archive_util.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/distutils/tests/test_archive_util.py b/Lib/distutils/tests/test_archive_util.py index e9aad0e40f..edcec2513e 100644 --- a/Lib/distutils/tests/test_archive_util.py +++ b/Lib/distutils/tests/test_archive_util.py @@ -13,7 +13,9 @@ from distutils.archive_util import (check_archive_formats, make_tarball, ARCHIVE_FORMATS) from distutils.spawn import find_executable, spawn from distutils.tests import support -from test.support import check_warnings, run_unittest, patch, change_cwd +from test.support import run_unittest, patch +from test.support.os_helper import change_cwd +from test.support.warnings_helper import check_warnings try: import grp |