aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/signals/qobject_destroyed_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/tests/signals/qobject_destroyed_test.py')
-rw-r--r--sources/pyside6/tests/signals/qobject_destroyed_test.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sources/pyside6/tests/signals/qobject_destroyed_test.py b/sources/pyside6/tests/signals/qobject_destroyed_test.py
index 204ab5693..67d8ed72b 100644
--- a/sources/pyside6/tests/signals/qobject_destroyed_test.py
+++ b/sources/pyside6/tests/signals/qobject_destroyed_test.py
@@ -55,6 +55,8 @@ class QObjectDestroyed(unittest.TestCase):
del obj
# 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.assertTrue(self.called)