33 lines
1.4 KiB
Python
33 lines
1.4 KiB
Python
|
"""
|
||
|
This type stub file was generated by pyright.
|
||
|
"""
|
||
|
|
||
|
import subprocess
|
||
|
from collections.abc import Callable
|
||
|
from typing import Any, IO, Literal, overload
|
||
|
|
||
|
def set_font_settings_for_testing() -> None:
|
||
|
...
|
||
|
|
||
|
def set_reproducibility_for_testing() -> None:
|
||
|
...
|
||
|
|
||
|
def setup() -> None:
|
||
|
...
|
||
|
|
||
|
@overload
|
||
|
def subprocess_run_for_testing(command: list[str], env: dict[str, str] | None = ..., timeout: float | None = ..., stdout: int | IO[Any] | None = ..., stderr: int | IO[Any] | None = ..., check: bool = ..., *, text: Literal[True], capture_output: bool = ...) -> subprocess.CompletedProcess[str]:
|
||
|
...
|
||
|
|
||
|
@overload
|
||
|
def subprocess_run_for_testing(command: list[str], env: dict[str, str] | None = ..., timeout: float | None = ..., stdout: int | IO[Any] | None = ..., stderr: int | IO[Any] | None = ..., check: bool = ..., text: Literal[False] = ..., capture_output: bool = ...) -> subprocess.CompletedProcess[bytes]:
|
||
|
...
|
||
|
|
||
|
@overload
|
||
|
def subprocess_run_for_testing(command: list[str], env: dict[str, str] | None = ..., timeout: float | None = ..., stdout: int | IO[Any] | None = ..., stderr: int | IO[Any] | None = ..., check: bool = ..., text: bool = ..., capture_output: bool = ...) -> subprocess.CompletedProcess[bytes] | subprocess.CompletedProcess[str]:
|
||
|
...
|
||
|
|
||
|
def subprocess_run_helper(func: Callable[[], None], *args: Any, timeout: float, extra_env: dict[str, str] | None = ...) -> subprocess.CompletedProcess[str]:
|
||
|
...
|
||
|
|