mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
gh-109413: libregrtest: Add and improve type annotations (#109405)
This commit is contained in:
parent
21e80f4c19
commit
3b9d10b031
13 changed files with 83 additions and 33 deletions
|
@ -1,7 +1,7 @@
|
|||
import subprocess
|
||||
import sys
|
||||
import os
|
||||
from typing import NoReturn
|
||||
from typing import Any, NoReturn
|
||||
|
||||
from test import support
|
||||
from test.support import os_helper
|
||||
|
@ -45,7 +45,7 @@ def create_worker_process(runtests: RunTests, output_fd: int,
|
|||
# Running the child from the same working directory as regrtest's original
|
||||
# invocation ensures that TEMPDIR for the child is the same when
|
||||
# sysconfig.is_python_build() is true. See issue 15300.
|
||||
kwargs = dict(
|
||||
kwargs: dict[str, Any] = dict(
|
||||
env=env,
|
||||
stdout=output_fd,
|
||||
# bpo-45410: Write stderr into stdout to keep messages order
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue