aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/QtWidgets/bug_433.py
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2025-05-14 11:05:17 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2025-05-16 15:03:24 +0200
commit28c0061af6b17219ba2bda3a217b76b044e80bcd (patch)
treeda3baf5d5237d58a2e3afbbaee468e367e53ab0f /sources/pyside6/tests/QtWidgets/bug_433.py
parentf18e3a36b605ed08dab838b27460915dd18cd450 (diff)
Fix some warnings in tests
Fix exec_ and deprecated QMenu.addAction() overloads. Fix warnings about inactive QPainter in bug_919.py. Pick-to: 6.9 Change-Id: I483190480ca5b467bd070c3239f78166e6de3a51 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Diffstat (limited to 'sources/pyside6/tests/QtWidgets/bug_433.py')
-rw-r--r--sources/pyside6/tests/QtWidgets/bug_433.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/pyside6/tests/QtWidgets/bug_433.py b/sources/pyside6/tests/QtWidgets/bug_433.py
index 5adcacccc..6d5c4333a 100644
--- a/sources/pyside6/tests/QtWidgets/bug_433.py
+++ b/sources/pyside6/tests/QtWidgets/bug_433.py
@@ -26,4 +26,4 @@ a = QApplication(sys.argv)
t = Test()
t.show()
QTimer.singleShot(0, t.close)
-sys.exit(a.exec_())
+sys.exit(a.exec())