mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
bpo-40275: Use new test.support helper submodules in tests (GH-21449)
This commit is contained in:
parent
488512bf49
commit
a7f5d93bb6
20 changed files with 154 additions and 132 deletions
|
@ -26,10 +26,10 @@ from textwrap import dedent
|
|||
from types import AsyncGeneratorType, FunctionType
|
||||
from operator import neg
|
||||
from test import support
|
||||
from test.support import (
|
||||
EnvironmentVarGuard, TESTFN, check_warnings, swap_attr, unlink,
|
||||
maybe_get_event_loop_policy)
|
||||
from test.support import (swap_attr, maybe_get_event_loop_policy)
|
||||
from test.support.os_helper import (EnvironmentVarGuard, TESTFN, unlink)
|
||||
from test.support.script_helper import assert_python_ok
|
||||
from test.support.warnings_helper import check_warnings
|
||||
from unittest.mock import MagicMock, patch
|
||||
try:
|
||||
import pty, signal
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue