diff options
Diffstat (limited to 'sources/pyside6/tests/pysidetest/homonymoussignalandmethod_test.py')
| -rw-r--r-- | sources/pyside6/tests/pysidetest/homonymoussignalandmethod_test.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sources/pyside6/tests/pysidetest/homonymoussignalandmethod_test.py b/sources/pyside6/tests/pysidetest/homonymoussignalandmethod_test.py index b29d37fc2..b298f9b91 100644 --- a/sources/pyside6/tests/pysidetest/homonymoussignalandmethod_test.py +++ b/sources/pyside6/tests/pysidetest/homonymoussignalandmethod_test.py @@ -2,7 +2,7 @@ ############################################################################# ## -## Copyright (C) 2016 The Qt Company Ltd. +## Copyright (C) 2021 The Qt Company Ltd. ## Contact: https://www.qt.io/licensing/ ## ## This file is part of the test suite of Qt for Python. @@ -28,6 +28,7 @@ ## ############################################################################# +import gc import os import sys import unittest @@ -53,6 +54,8 @@ class HomonymousSignalAndMethodTest(unittest.TestCase): del self.value del self.called del self.obj + # PYSIDE-535: Need to collect garbage in PyPy to trigger deletion + gc.collect() def testIdValueSignalEmission(self): def callback(idValue): |
