diff options
| author | Christian Tismer <tismer@stackless.com> | 2022-04-25 15:52:43 +0200 |
|---|---|---|
| committer | Christian Tismer <tismer@stackless.com> | 2022-04-27 18:06:36 +0200 |
| commit | 4e63ba07d8d9104330a995dc77ea2de9098bccde (patch) | |
| tree | 2bb0b392dc8fc1361f2679575d8c2ff4472fa502 /sources/pyside6/libpyside/pyside.cpp | |
| parent | 8a4a6f3aec1b3f99ee902073fe8b0b3cecb91f3e (diff) | |
__feature__: improve the feature module by a reset function
The __feature__ tests need a stronger way to reset the
feature selection reliably. Some cross-talk was observed
when running multiple tests together with PyTest. This
effect was hidden because our unit-tests are isolated in
individual processes by CTest.
- Remove all special 0x80 cases of TearDown functions
- introduce a new feature module function `reset` that
completely uninitializes the features, including the
`pyside_feature_dict`.
- drop the artificial naming of `__feature__` in favor of
`feature`. This is less confusing for people examining
the implementation.
[ChangeLog][PySide6] Feature switching was improved by avoiding
cross-talk between multiple test runs.
Task-number: PYSIDE-1019
Change-Id: I28550f293763ac58df72b8ce5c0a613c2067f6ba
Pick-to: 6.3
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'sources/pyside6/libpyside/pyside.cpp')
0 files changed, 0 insertions, 0 deletions
