aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/QtWidgets/bug_569.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/tests/QtWidgets/bug_569.py')
-rw-r--r--sources/pyside6/tests/QtWidgets/bug_569.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/sources/pyside6/tests/QtWidgets/bug_569.py b/sources/pyside6/tests/QtWidgets/bug_569.py
index 12809853b..cd4874403 100644
--- a/sources/pyside6/tests/QtWidgets/bug_569.py
+++ b/sources/pyside6/tests/QtWidgets/bug_569.py
@@ -44,11 +44,12 @@ class TestBug569(unittest.TestCase):
types = (QTableWidgetItem, QListWidgetItem, QTreeWidgetItem)
for t in types:
a = t()
- a.__lt__ = lambda other : True
+ a.__lt__ = lambda other: True
b = t()
- b.__lt__ = lambda other : False
+ b.__lt__ = lambda other: False
self.assertTrue(a < b)
self.assertFalse(b < a)
+
if __name__ == '__main__':
unittest.main()