aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/QtWidgets/qlabel_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/tests/QtWidgets/qlabel_test.py')
-rw-r--r--sources/pyside6/tests/QtWidgets/qlabel_test.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/sources/pyside6/tests/QtWidgets/qlabel_test.py b/sources/pyside6/tests/QtWidgets/qlabel_test.py
index 1ab49ef5e..aba90b7b8 100644
--- a/sources/pyside6/tests/QtWidgets/qlabel_test.py
+++ b/sources/pyside6/tests/QtWidgets/qlabel_test.py
@@ -64,13 +64,12 @@ class QLabelTest(UsesQApplication):
# address that our QPixmap p1 because it was deleted
# using `del ret_p`
self.assertTrue(all(Shiboken.getCppPointer(o) != ret_p_addr
- for o in Shiboken.getAllValidWrappers()))
+ for o in Shiboken.getAllValidWrappers()))
# Test for PYSIDE-1673, QObject.property() returning a QFlags<> property.
def testQObjectProperty(self):
a = self.label.property("alignment")
- self.assertEqual(type(a), Qt.AlignmentFlag if sys.pyside63_option_python_enum
- else Qt.Alignment)
+ self.assertEqual(type(a), Qt.Alignment)
print("alignment=", a)