aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/QtWidgets/qlayout_test.py
diff options
context:
space:
mode:
authorChristian Tismer <tismer@stackless.com>2022-03-09 19:00:02 +0100
committerChristian Tismer <tismer@stackless.com>2022-03-11 09:19:08 +0000
commitadf99f8dcdfd709faf2ac108da23181896288fe1 (patch)
tree4e8916132335bd747d9b3cc185ffb14b8fbfe137 /sources/pyside6/tests/QtWidgets/qlayout_test.py
parent332b99ecda74e5d575d4ddcd2d86fa4ffc283e3c (diff)
PyPySide: fix a bunch of pseudo-errors
These ten errors could be removed. There were more GC calls needed. Sometimes, calling GC twice did the trick. We are now at 14 core errors, 18 in total :) Task-number: PYSIDE-1843 Task-number: PYSIDE-535 Change-Id: Iafb3f93682639ba28e5326f3b8cdebf6670a7b69 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'sources/pyside6/tests/QtWidgets/qlayout_test.py')
-rw-r--r--sources/pyside6/tests/QtWidgets/qlayout_test.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sources/pyside6/tests/QtWidgets/qlayout_test.py b/sources/pyside6/tests/QtWidgets/qlayout_test.py
index 2f53fcbff..43c0862a2 100644
--- a/sources/pyside6/tests/QtWidgets/qlayout_test.py
+++ b/sources/pyside6/tests/QtWidgets/qlayout_test.py
@@ -148,6 +148,8 @@ class QLayoutTest(UsesQApplication):
del w
# PYSIDE-535: Need to collect garbage in PyPy to trigger deletion
gc.collect()
+ # PYSIDE-535: Why do I need to do it twice, here?
+ gc.collect()
self.assertRaises(RuntimeError, spacer.isEmpty)