diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2017-08-07 18:22:44 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-07 18:22:44 (GMT) |
commit | 733d0f63c562090a2b840859b96028d6ec0a4803 (patch) | |
tree | 4a3a2001092979f4e897cd0e84c914f6fe055ca7 /Lib/idlelib/configdialog.py | |
parent | 89225871d314fa675ea9ac292e7bc75320f1aef5 (diff) | |
download | cpython-733d0f63c562090a2b840859b96028d6ec0a4803.zip cpython-733d0f63c562090a2b840859b96028d6ec0a4803.tar.gz cpython-733d0f63c562090a2b840859b96028d6ec0a4803.tar.bz2 |
bpo-31130: IDLE -- stop leaks in test_configdialog. (#3016)
Initial patch by Victor Stinner.
Diffstat (limited to 'Lib/idlelib/configdialog.py')
-rw-r--r-- | Lib/idlelib/configdialog.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/idlelib/configdialog.py b/Lib/idlelib/configdialog.py index f7a6b73..6317237 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() |