summaryrefslogtreecommitdiff
path: root/run_tests.py
diff options
context:
space:
mode:
authorZhipeng Xue <543984341@qq.com>2024-07-11 17:00:41 +0800
committerDylan Baker <dylan@pnwbakers.com>2024-07-11 09:04:40 -0700
commit85483295867dbc0c2ab1357b9fe0ca40e320e8a3 (patch)
treee1779e306b5340445451c5deece476ca51e4a8ee /run_tests.py
parent0d7bb776e2d97d406b726b90090bbfa8df13232b (diff)
downloadmeson-85483295867dbc0c2ab1357b9fe0ca40e320e8a3.tar.gz
Fix Type hints
Diffstat (limited to 'run_tests.py')
-rwxr-xr-xrun_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/run_tests.py b/run_tests.py
index 87a8f1314..36ec689e1 100755
--- a/run_tests.py
+++ b/run_tests.py
@@ -284,7 +284,7 @@ def get_backend_commands(backend: Backend, debug: bool = False) -> \
raise AssertionError(f'Unknown backend: {backend!r}')
return cmd, clean_cmd, test_cmd, install_cmd, uninstall_cmd
-def run_mtest_inprocess(commandlist: T.List[str]) -> T.Tuple[int, str, str]:
+def run_mtest_inprocess(commandlist: T.List[str]) -> T.Tuple[int, str]:
out = StringIO()
with mock.patch.object(sys, 'stdout', out), mock.patch.object(sys, 'stderr', out):
returncode = mtest.run_with_args(commandlist)