summaryrefslogtreecommitdiff
path: root/mesonbuild/mtest.py
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2023-11-10 14:01:28 -0500
committerXavier Claessens <xclaesse@gmail.com>2023-11-10 14:22:30 -0500
commit11dec13a1933159be6bee160f899b39970b64d06 (patch)
tree10b06df55ae6613cadb312ff5b09da4127c77d72 /mesonbuild/mtest.py
parent42898bb455bda962ee6ecf0eb21c5090005b3906 (diff)
downloadmeson-11dec13a1933159be6bee160f899b39970b64d06.tar.gz
mtest: -C argument does not need type convertor
It is already done by RealPathAction and mypy started complaining about it.
Diffstat (limited to 'mesonbuild/mtest.py')
-rw-r--r--mesonbuild/mtest.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/mesonbuild/mtest.py b/mesonbuild/mtest.py
index c1ce1e09e..b7d2bc6cf 100644
--- a/mesonbuild/mtest.py
+++ b/mesonbuild/mtest.py
@@ -143,9 +143,6 @@ def add_arguments(parser: argparse.ArgumentParser) -> None:
parser.add_argument('--wrapper', default=None, dest='wrapper', type=split_args,
help='wrapper to run tests with (e.g. Valgrind)')
parser.add_argument('-C', dest='wd', action=RealPathAction,
- # https://github.com/python/typeshed/issues/3107
- # https://github.com/python/mypy/issues/7177
- type=os.path.abspath, # type: ignore
help='directory to cd into before running')
parser.add_argument('--suite', default=[], dest='include_suites', action='append', metavar='SUITE',
help='Only run tests belonging to the given suite.')