aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/QtWidgets/bug_640.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/tests/QtWidgets/bug_640.py')
-rw-r--r--sources/pyside6/tests/QtWidgets/bug_640.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sources/pyside6/tests/QtWidgets/bug_640.py b/sources/pyside6/tests/QtWidgets/bug_640.py
index c3e0ed83a..aa7153df2 100644
--- a/sources/pyside6/tests/QtWidgets/bug_640.py
+++ b/sources/pyside6/tests/QtWidgets/bug_640.py
@@ -15,9 +15,10 @@ from PySide6.QtWidgets import QStyleOptionGraphicsItem
class Bug640(unittest.TestCase):
+ """crash!?"""
def testIt(self):
option = QStyleOptionGraphicsItem()
- a = option.state # crash!?
+ a = option.state # noqa: F841
if __name__ == "__main__":