summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/idle_test/test_idlehistory.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2014-02-27 23:47:49 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2014-02-27 23:47:49 (GMT)
commit9db1ab82508cd4be4195e520da8cb8d86cd1f7e4 (patch)
tree74d3c7c12b1b5cc5ee7c345178b545fcc9afc31d /Lib/idlelib/idle_test/test_idlehistory.py
parentb807577da257ba2475abe955120fb7bdf739875c (diff)
downloadcpython-9db1ab82508cd4be4195e520da8cb8d86cd1f7e4.zip
cpython-9db1ab82508cd4be4195e520da8cb8d86cd1f7e4.tar.gz
cpython-9db1ab82508cd4be4195e520da8cb8d86cd1f7e4.tar.bz2
Issue #20567: Delete class attribute gui widgets in idle tests.
Code patch by Serhiy Storchaka
Diffstat (limited to 'Lib/idlelib/idle_test/test_idlehistory.py')
-rw-r--r--Lib/idlelib/idle_test/test_idlehistory.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/idlelib/idle_test/test_idlehistory.py b/Lib/idlelib/idle_test/test_idlehistory.py
index b27db91..d7c3d70 100644
--- a/Lib/idlelib/idle_test/test_idlehistory.py
+++ b/Lib/idlelib/idle_test/test_idlehistory.py
@@ -80,6 +80,7 @@ class FetchTest(unittest.TestCase):
@classmethod
def tearDownClass(cls):
cls.root.destroy()
+ del cls.root
def fetch_test(self, reverse, line, prefix, index, *, bell=False):
# Perform one fetch as invoked by Alt-N or Alt-P