aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/pysidetest/qvariant_test.py
diff options
context:
space:
mode:
authorChristian Tismer <tismer@stackless.com>2023-06-09 13:48:44 +0200
committerChristian Tismer <tismer@stackless.com>2023-06-16 19:15:31 +0200
commit9446e0c8b4711cb886c2449fd8e17dcb26e69b6b (patch)
tree85b6e694870f1dd08fd2d84ec781fdb5190118cb /sources/pyside6/tests/pysidetest/qvariant_test.py
parent2b75519adf23ba490e32659ca337b48e7ae4ec41 (diff)
PyEnum: Update docs and rename the option
The new Enum implementation can no longer be switched off. Individual features can still be deselected with the environment variable PYSIDE6_OPTION_PYTHON_ENUM which had the name PYSIDE63_OPTION_PYTHON_ENUM before. This change is meant for PySide 6.6 . Task-number: PYSIDE-1735 Change-Id: Iae5b7a9d42a0d7b005dbba20201a80713ef79be9 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'sources/pyside6/tests/pysidetest/qvariant_test.py')
-rw-r--r--sources/pyside6/tests/pysidetest/qvariant_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/pyside6/tests/pysidetest/qvariant_test.py b/sources/pyside6/tests/pysidetest/qvariant_test.py
index df623146d..8676c5eeb 100644
--- a/sources/pyside6/tests/pysidetest/qvariant_test.py
+++ b/sources/pyside6/tests/pysidetest/qvariant_test.py
@@ -38,7 +38,7 @@ class QVariantTest(UsesQApplication):
self.assertEqual(TestObject.checkType(ks), 4107)
# PYSIDE-1735: Test the new way to address QKeyCombination after moving IntEnum to Enum
- @unittest.skipUnless(sys.pyside63_option_python_enum, "only implemented for new enums")
+ @unittest.skipUnless(sys.pyside6_option_python_enum, "only implemented for new enums")
def testQKeySequenceMoreVariations(self):
QAction().setShortcut(Qt.CTRL | Qt.Key_B)
QAction().setShortcut(Qt.CTRL | Qt.ALT | Qt.Key_B)