diff options
| author | Cristián Maureira-Fredes <Cristian.Maureira-Fredes@qt.io> | 2024-12-09 15:44:27 +0100 |
|---|---|---|
| committer | Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> | 2024-12-18 11:12:44 +0000 |
| commit | 50cb1078f856d3282f62cb7b6e5b7077785ccf26 (patch) | |
| tree | 133c6a54c406c459fd3bb66e1eea9098f1c14f1d /sources/pyside6/tests/manually | |
| parent | 382a34586f73896d12063616eb8b31474c03f68a (diff) | |
sizebench: adapt classifiers on test
the python classifiers were removed in
c5880ced5b6cfc7a07af9d4e7079af563ceae089
so the test will fail.
Change-Id: I58033f387bcebed76ca8b1bba18cc991975338d1
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Diffstat (limited to 'sources/pyside6/tests/manually')
| -rw-r--r-- | sources/pyside6/tests/manually/sizebench.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/pyside6/tests/manually/sizebench.py b/sources/pyside6/tests/manually/sizebench.py index 4ef396fe6..dea40449f 100644 --- a/sources/pyside6/tests/manually/sizebench.py +++ b/sources/pyside6/tests/manually/sizebench.py @@ -40,7 +40,7 @@ def setup_project_dir(): while here / look_for not in here.iterdir(): parent = here.parent if parent == here: - raise SystemError(look_for + " not found!") + raise SystemError(f"{look_for} not found!") here = parent fsp = os.fspath(here) if fsp not in sys.path: @@ -58,7 +58,7 @@ def check_allowed_python_versions(major, minor): from build_scripts.main import config pattern = r'Programming Language :: Python :: (\d+)\.(\d+)' hist = [] - for line in config.python_version_classifiers: + for line in config.classifiers: found = re.search(pattern, line) if found: ma = int(found.group(1)) |
