diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2025-07-30 08:52:32 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2025-07-30 10:50:43 +0200 |
| commit | 74551b389f6aa649e34fa4052757abbf0c9e8cce (patch) | |
| tree | 074a6ae8f195ee4de059c4fdea05a017e3325623 /sources/pyside6/doc/tutorials/qmlintegration | |
| parent | fdc842eb5394e162ea33b247462f3f996b608a44 (diff) | |
testrunner: Fix deprecation warning about =argparse.FileType
Open the files directly as advised, fixing:
testing/command.py:170: PendingDeprecationWarning: FileType is deprecated. Simply open files after parsing arguments.
type=argparse.FileType("r"),
testing/command.py:198: PendingDeprecationWarning: FileType is deprecated. Simply open files after parsing arguments.
"filename", type=argparse.FileType("w"), help="write the build dir name into a file"
Pick-to: 6.9 6.8
Task-number: PYSIDE-3147
Change-Id: I78949168309b8939d9dd2db5bedb277b6a679d28
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Diffstat (limited to 'sources/pyside6/doc/tutorials/qmlintegration')
0 files changed, 0 insertions, 0 deletions
