mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
bpo-40275: Use new test.support helper submodules in tests (GH-21219)
This commit is contained in:
parent
3fa4799c3f
commit
3ddc634cd5
16 changed files with 116 additions and 94 deletions
|
@ -11,6 +11,7 @@ import time
|
|||
import traceback
|
||||
import types
|
||||
from test import support
|
||||
from test.support import os_helper
|
||||
|
||||
from test.libregrtest.runtest import (
|
||||
runtest, INTERRUPTED, CHILD_ERROR, PROGRESS_MIN_TIME,
|
||||
|
@ -70,7 +71,7 @@ def run_test_in_subprocess(testname, ns):
|
|||
stderr=subprocess.PIPE,
|
||||
universal_newlines=True,
|
||||
close_fds=(os.name != 'nt'),
|
||||
cwd=support.SAVEDCWD,
|
||||
cwd=os_helper.SAVEDCWD,
|
||||
**kw)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue