aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/QtGui/qimage_test.py
Commit message (Collapse)AuthorAgeFilesLines
* PySide6/Tests: Use fully qualified enumerationsFriedemann Kleint2024-12-201-3/+3
| | | | | | | | | 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>
* 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>
* testing: modernize UsesQApplication and remove other versionsChristian Tismer2023-03-161-2/+2
| | | | | | | | | | | | The last change to UsesQApplication can be generalized to be able to remove the QtCore and QtGui versions. Instead, the module and class to use are computed from the content of sys.modules . Task-number: PYSIDE-1564 Change-Id: Iac1fe3a2d6bb5a9f7638eb889f55b079cb55c272 Pick-to: 6.4 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Use SPDX license identifiersLucie Gérard2022-05-271-27/+2
| | | | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. Files that have to be modified by hand are modified. License files are organized under LICENSES directory. Task-number: QTBUG-67283 Change-Id: I065150015bdb84a3096b5b39c061cf0a20ab637d Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* qimage_test.py: Split out XPM test data to a separate fileFriedemann Kleint2022-04-201-234/+1
| | | | | | | Pick-to: 6.3 Task-number: PYSIDE-1859 Change-Id: Ie85edc9c8dc6814fa00c22b3a5b22a1f839dea97 Reviewed-by: Christian Tismer <tismer@stackless.com>
* Fix failing test qimage_test.pyFriedemann Kleint2022-03-211-0/+2
| | | | | | | | | | qtbase/019d0dd4b49d5a0e9cbb73829158e798ea25fd86 extended QImage::operator==() to also compare the color space. This causes image comparison to fail when reading from file and converting. Pick-to: 6.2 Change-Id: I302998954ce24fc4a6ae1823dea7c62f23031bcd Reviewed-by: Christian Tismer <tismer@stackless.com>
* Clean up QtWidgets testsFriedemann Kleint2022-02-021-0/+312
Many QtWidgets tests do not require classes from QtWidgets any more due to splitting out the QtGui module and moving further classes into it. Move the tests to the proper module. As a drive by, move some misplaced tests from QtGui into QtCore or QtWidgets, respectively. Pick-to: 6.2 Change-Id: Ib995ce6556fceff4eb8ec8ac9b25680834a2426f Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Christian Tismer <tismer@stackless.com>