diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2024-12-19 08:35:05 +0100 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2024-12-20 13:16:11 +0100 |
| commit | fcfb6d1c5b983753dd3e65a592a11c17f32bd0ff (patch) | |
| tree | c313983f4dbd92861cba94bde13f6b756bbe7cc9 /sources/pyside6/tests/QtWidgets/bug_389.py | |
| parent | a88b7fc378bfa2481e581adc9de981dbd263ddc4 (diff) | |
PySide6/Tests: Use fully qualified enumerations
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>
Diffstat (limited to 'sources/pyside6/tests/QtWidgets/bug_389.py')
| -rw-r--r-- | sources/pyside6/tests/QtWidgets/bug_389.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/pyside6/tests/QtWidgets/bug_389.py b/sources/pyside6/tests/QtWidgets/bug_389.py index 39e0aa5d6..60305a8b1 100644 --- a/sources/pyside6/tests/QtWidgets/bug_389.py +++ b/sources/pyside6/tests/QtWidgets/bug_389.py @@ -21,7 +21,7 @@ from PySide6.QtWidgets import QStyle, QWidget class BugTest(UsesQApplication): def testCase(self): s = QWidget().style() - i = s.standardIcon(QStyle.SP_TitleBarMinButton) + i = s.standardIcon(QStyle.StandardPixmap.SP_TitleBarMinButton) self.assertEqual(type(i), QIcon) |
