diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2021-11-01 13:53:09 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2021-11-22 11:28:43 -0800 |
commit | 75d163f56d8264a4e68343367f0b9580d746e21b (patch) | |
tree | bcd203d20e8a9019883ffef26ba1a6b5d7a5adfc | |
parent | ab29126232098992702e9bf1194a3e784410dba1 (diff) | |
download | meson-75d163f56d8264a4e68343367f0b9580d746e21b.zip meson-75d163f56d8264a4e68343367f0b9580d746e21b.tar.gz meson-75d163f56d8264a4e68343367f0b9580d746e21b.tar.bz2 |
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.
-rw-r--r-- | mesonbuild/build.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |