aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/pysidetest/qvariant_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/tests/pysidetest/qvariant_test.py')
-rw-r--r--sources/pyside6/tests/pysidetest/qvariant_test.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sources/pyside6/tests/pysidetest/qvariant_test.py b/sources/pyside6/tests/pysidetest/qvariant_test.py
index eadc2aad0..637aa95cf 100644
--- a/sources/pyside6/tests/pysidetest/qvariant_test.py
+++ b/sources/pyside6/tests/pysidetest/qvariant_test.py
@@ -41,6 +41,7 @@ from PySide6.QtGui import QKeySequence
from helper.usesqapplication import UsesQApplication
+
class QVariantTest(UsesQApplication):
def testQKeySequenceQVariantOperator(self):
@@ -48,5 +49,6 @@ class QVariantTest(UsesQApplication):
ks = QKeySequence(Qt.SHIFT, Qt.CTRL, Qt.Key_P, Qt.Key_R)
self.assertEqual(TestObject.checkType(ks), 4107)
+
if __name__ == '__main__':
unittest.main()