mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
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
This commit is contained in:
parent
700cfa8c90
commit
847f94f47b
20 changed files with 69 additions and 42 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue