from os.path import basename, relpath
from pathlib import Path
from subprocess import CalledProcessError
-from typing import Union
EnvironmentT = dict[str, str]
-ArgsT = Sequence[Union[str, Path]]
+ArgsT = Sequence[str | Path]
SCRIPT_NAME = Path(__file__).name
PYTHON_DIR = Path(__file__).resolve().parent.parent.parent
]:
step(context, host=step_host)
- if host in {"all", "hosts"}:
+ if host == "all":
package(context)
import subprocess
import sys
from pathlib import Path
-from typing import Union
TEST_SLICES = {
"iOS": "ios-arm64_x86_64-simulator",
def run_testbed(
platform: str,
- simulator: Union[str, None],
+ simulator: str | None,
args: list[str],
verbose: bool = False,
):