diff options
| author | Eli Schwartz <eschwartz@archlinux.org> | 2021-06-08 15:32:26 -0400 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2021-07-05 17:55:04 +0300 |
| commit | c4f5f6364e5d3049de46a2408548645a4f843474 (patch) | |
| tree | a52db3d4218e7e8c8b1817d691f7035b8afa4b2f /run_project_tests.py | |
| parent | 88bd4e6e10a863b4357827ac9230ffc515b5a2f5 (diff) | |
| download | meson-c4f5f6364e5d3049de46a2408548645a4f843474.tar.gz | |
pyupgrade
Diffstat (limited to 'run_project_tests.py')
| -rwxr-xr-x | run_project_tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/run_project_tests.py b/run_project_tests.py index 7631b8471..a9030ce24 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] |
