aboutsummaryrefslogtreecommitdiff
path: root/run_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'run_tests.py')
-rwxr-xr-xrun_tests.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/run_tests.py b/run_tests.py
index 5a0a70c..1e01aa9 100755
--- a/run_tests.py
+++ b/run_tests.py
@@ -118,7 +118,8 @@ class FakeCompilerOptions:
def __init__(self):
self.value = []
-def get_fake_options(prefix=''):
+# TODO: use a typing.Protocol here
+def get_fake_options(prefix: str = '') -> argparse.Namespace:
opts = argparse.Namespace()
opts.native_file = []
opts.cross_file = None