aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/build.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2021-11-01 13:53:09 -0700
committerDylan Baker <dylan@pnwbakers.com>2021-11-22 11:28:43 -0800
commit75d163f56d8264a4e68343367f0b9580d746e21b (patch)
treebcd203d20e8a9019883ffef26ba1a6b5d7a5adfc /mesonbuild/build.py
parentab29126232098992702e9bf1194a3e784410dba1 (diff)
downloadmeson-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.
Diffstat (limited to 'mesonbuild/build.py')
-rw-r--r--mesonbuild/build.py2
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