File: 0001-Disable-explicit-garbage-collection-in-testsuite.patch

package info (click to toggle)
orange-canvas-core 0.2.5-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,724 kB
  • sloc: python: 31,850; sh: 11; makefile: 11
file content (20 lines) | stat: -rw-r--r-- 650 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
From: Roland Mas <roland.mas@entierement.net>
Date: Sat, 19 Jul 2025 15:23:44 +0200
Subject: Disable explicit garbage collection in testsuite

---
 orangecanvas/gui/test.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/orangecanvas/gui/test.py b/orangecanvas/gui/test.py
index 8382f30..1529a34 100644
--- a/orangecanvas/gui/test.py
+++ b/orangecanvas/gui/test.py
@@ -48,7 +48,6 @@ class QCoreAppTestCase(unittest.TestCase):
 
     @classmethod
     def tearDownClass(cls):
-        gc.collect()
         cls.app.setApplicationName(cls.__appname)
         cls.app.setOrganizationDomain(cls.__appdomain)
         cls.app.sendPostedEvents(None, 0)