aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build_history/blacklist.txt2
-rw-r--r--sources/pyside6/tests/QtCore/bug_462.py2
2 files changed, 1 insertions, 3 deletions
diff --git a/build_history/blacklist.txt b/build_history/blacklist.txt
index 15139de54..cc61ebf2a 100644
--- a/build_history/blacklist.txt
+++ b/build_history/blacklist.txt
@@ -18,8 +18,6 @@
py3
[QtCore::qthread_test]
linux py3.6
-[QtCore::bug_462]
- py3.6
# PYSIDE-754
[QtWebEngineCore::web_engine_custom_scheme]
win32
diff --git a/sources/pyside6/tests/QtCore/bug_462.py b/sources/pyside6/tests/QtCore/bug_462.py
index c4c4a8795..4089b449a 100644
--- a/sources/pyside6/tests/QtCore/bug_462.py
+++ b/sources/pyside6/tests/QtCore/bug_462.py
@@ -41,7 +41,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 + (0 if sys.pyside63_option_python_enum else 100)))
self.i = i