aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/signals/signal_newenum_test.py
Commit message (Collapse)AuthorAgeFilesLines
* PySide6/Tests: Use fully qualified enumerationsFriedemann Kleint2024-12-201-1/+1
| | | | | | | | | As a drive-by fix flake errors. Pick-to: 6.8 Task-number: PYSIDE-1735 Change-Id: I9829b011fee78fc8edd1aefdd3066ae89e63644b Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* type hints: Fix some typing bugs for mypy (forgiveness)Friedemann Kleint2024-09-181-1/+1
| | | | | | | | | | | | | The new enums still support old syntax by the forgiveness mode. Nevertheless, when using mypy to check files, strict correctness is enforced. We correct a large number of forgiveness-induced errors, but there is still a whole lot of other complaints to fix. Task-number: PYSIDE-2846 Change-Id: If566187d268ef75bc09b8d86f73d2c7d19f284f9 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Python-3.10: Allow the new syntax for Python 3.9Christian Tismer2024-06-201-0/+1
| | | | | | | | Add a future statement to all Python source files. Task-number: PYSIDE-2786 Change-Id: Icd6688c7795a9e16fdcaa829686d57792df27690 Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
* Simplify enum signal testFriedemann Kleint2022-10-281-31/+20
| | | | | | | | | Amends df87bd0d6c55e0ab11aa68f7db99337860134510. Task-number: PYSIDE-2095 Pick-to: 6.3 6.4 Change-Id: I0a18abc35b1f6519fd8b82f98410240d8907652d Reviewed-by: Christian Tismer <tismer@stackless.com>
* fix signals with new enums on Python 3.11Friedemann Kleint2022-10-281-0/+61
Signals were not aware of new enums. Worse, the name of the metatype was changed in Python. Added a test that simulates the example. Change-Id: I80e1f220c387ab39e918bfc63d6bb5cab6025590 Fixes: PYSIDE-2095 Pick-to: 6.3 6.4 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>