diff options
Diffstat (limited to 'sources/pyside6/tests/QtCore/bug_462.py')
-rw-r--r-- | sources/pyside6/tests/QtCore/bug_462.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/pyside6/tests/QtCore/bug_462.py b/sources/pyside6/tests/QtCore/bug_462.py index 2f13bb531..04a42fe08 100644 --- a/sources/pyside6/tests/QtCore/bug_462.py +++ b/sources/pyside6/tests/QtCore/bug_462.py @@ -16,7 +16,7 @@ from PySide6.QtCore import QObject, QCoreApplication, QEvent, QThread class MyEvent(QEvent): def __init__(self, i): print("TYPE:", type(QEvent.User)) - super().__init__(QEvent.Type(QEvent.User + (0 if sys.pyside63_option_python_enum else 100))) + super().__init__(QEvent.Type(QEvent.User)) self.i = i |