Skip to content

Commit

Permalink
... gc
Browse files Browse the repository at this point in the history
  • Loading branch information
ales-erjavec committed Mar 4, 2024
1 parent 0f9a1c3 commit f8d0d74
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Orange/widgets/data/utils/pythoneditor/tests/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
as published by the Free Software Foundation, version 2.1 of the license.
This is compatible with Orange3's GPL-3.0 license.
""" # pylint: disable=duplicate-code
import gc

from AnyQt.QtGui import QKeySequence
from AnyQt.QtTest import QTest
from AnyQt.QtCore import Qt
Expand All @@ -26,6 +28,7 @@ def setUp(self) -> None:
def tearDown(self) -> None:
self.qpart.terminate()
del self.qpart
gc.collect()
super().tearDown()


Expand Down

0 comments on commit f8d0d74

Please sign in to comment.