From 733d0f63c562090a2b840859b96028d6ec0a4803 Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Mon, 7 Aug 2017 14:22:44 -0400 Subject: bpo-31130: IDLE -- stop leaks in test_configdialog. (#3016) Initial patch by Victor Stinner. --- Lib/idlelib/configdialog.py | 1 + 1 file changed, 1 insertion(+) (limited to 'Lib/idlelib/configdialog.py') diff --git a/Lib/idlelib/configdialog.py b/Lib/idlelib/configdialog.py index f7a6b7367e..63172371a5 100644 --- a/Lib/idlelib/configdialog.py +++ b/Lib/idlelib/configdialog.py @@ -1856,6 +1856,7 @@ class VarTrace: def clear(self): "Clear lists (for tests)." + # Call after all tests in a module to avoid memory leaks. self.untraced.clear() self.traced.clear() -- cgit v1.2.1