summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/idle_test/test_text.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_text.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_text.py')
-rw-r--r--Lib/idlelib/idle_test/test_text.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/idlelib/idle_test/test_text.py b/Lib/idlelib/idle_test/test_text.py
index 367bf38..5ac2fd7 100644
--- a/Lib/idlelib/idle_test/test_text.py
+++ b/Lib/idlelib/idle_test/test_text.py
@@ -221,6 +221,7 @@ class TkTextTest(TextTest, unittest.TestCase):
@classmethod
def tearDownClass(cls):
cls.root.destroy()
+ del cls.root
if __name__ == '__main__':