aboutsummaryrefslogtreecommitdiff
path: root/run_project_tests.py
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2021-06-08 15:32:26 -0400
committerJussi Pakkanen <jpakkane@gmail.com>2021-07-05 17:55:04 +0300
commitc4f5f6364e5d3049de46a2408548645a4f843474 (patch)
treea52db3d4218e7e8c8b1817d691f7035b8afa4b2f /run_project_tests.py
parent88bd4e6e10a863b4357827ac9230ffc515b5a2f5 (diff)
downloadmeson-c4f5f6364e5d3049de46a2408548645a4f843474.zip
meson-c4f5f6364e5d3049de46a2408548645a4f843474.tar.gz
meson-c4f5f6364e5d3049de46a2408548645a4f843474.tar.bz2
pyupgrade
Diffstat (limited to 'run_project_tests.py')
-rwxr-xr-xrun_project_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/run_project_tests.py b/run_project_tests.py
index 7631b84..a9030ce 100755
--- a/run_project_tests.py
+++ b/run_project_tests.py
@@ -1106,7 +1106,7 @@ def detect_tests_to_run(only: T.Dict[str, T.List[str]], use_tmp: bool) -> T.List
if only:
for key in only.keys():
- assert key in categories, 'key `{}` is not a recognized category'.format(key)
+ assert key in categories, f'key `{key}` is not a recognized category'
all_tests = [t for t in all_tests if t.category in only.keys()]
gathered_tests = [(t.category, gather_tests(Path('test cases', t.subdir), t.stdout_mandatory, only[t.category]), t.skip) for t in all_tests]