aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sources/pyside6/tests/manually/sizebench.py4
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))