diff options
| author | Cristian Maureira-Fredes <Cristian.Maureira-Fredes@qt.io> | 2021-01-04 21:03:22 +0100 |
|---|---|---|
| committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-01-06 15:34:36 +0000 |
| commit | 5ea0fde59719866f6eb86a4fe4e33d7f389802c5 (patch) | |
| tree | db7305af8d7642b4fddf032ece79dc65d2c95ad4 /sources/pyside6/tests/init_paths.py | |
| parent | b9a89e1f3c8d0b80cc91bf1d277ead3b7857dabd (diff) | |
sources: migration from format() to f-strings
This should be the last patch related the usage of f-strings
from the 'sources' directory.
Change-Id: I0288d720dc4930dee088ca3396a66d1b3ba18f76
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
(cherry picked from commit d9f344fcef6bec04a787f9ea9f4ea94f15eaa26c)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'sources/pyside6/tests/init_paths.py')
| -rw-r--r-- | sources/pyside6/tests/init_paths.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/pyside6/tests/init_paths.py b/sources/pyside6/tests/init_paths.py index 0230ca99d..64b4f8791 100644 --- a/sources/pyside6/tests/init_paths.py +++ b/sources/pyside6/tests/init_paths.py @@ -54,7 +54,7 @@ def _get_qt_dir(): break if not result: raise ValueError('Unable to locate Qt. Please set the environment variable QT_DIR') - print('Qt as determined by path search: {}'.format(result), file=sys.stderr) + print(f"Qt as determined by path search: {result}", file=sys.stderr) return result |
