From 75d163f56d8264a4e68343367f0b9580d746e21b Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Mon, 1 Nov 2021 13:53:09 -0700 Subject: build: TestSetup.exe_wrapper doesn't need to be optional It works fine as-is with an empty list, and since that's easier to get using our typed_kwargs, and thus is what we're passing, go ahead and simplify the class to only take a list of strings. --- mesonbuild/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesonbuild/build.py b/mesonbuild/build.py index 18c0911..721234b 100644 --- a/mesonbuild/build.py +++ b/mesonbuild/build.py @@ -2796,7 +2796,7 @@ class Data(HoldableObject): self.data_type = data_type class TestSetup: - def __init__(self, exe_wrapper: T.Optional[T.List[str]], gdb: bool, + def __init__(self, exe_wrapper: T.List[str], gdb: bool, timeout_multiplier: int, env: EnvironmentVariables, exclude_suites: T.List[str]): self.exe_wrapper = exe_wrapper -- cgit v1.1