summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/idle_test/test_formatparagraph.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2014-02-27 23:47:23 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2014-02-27 23:47:23 (GMT)
commit44fad467b94718beb9fae6c4af4f5c87330b2daf (patch)
tree7a571c881c9b8c6d8df8e664cbab814355a5e39d /Lib/idlelib/idle_test/test_formatparagraph.py
parent68b8a94c9107d086e4094e3395a335a65f184591 (diff)
downloadcpython-44fad467b94718beb9fae6c4af4f5c87330b2daf.zip
cpython-44fad467b94718beb9fae6c4af4f5c87330b2daf.tar.gz
cpython-44fad467b94718beb9fae6c4af4f5c87330b2daf.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_formatparagraph.py')
-rw-r--r--Lib/idlelib/idle_test/test_formatparagraph.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/idlelib/idle_test/test_formatparagraph.py b/Lib/idlelib/idle_test/test_formatparagraph.py
index 7d7affc..eed2286 100644
--- a/Lib/idlelib/idle_test/test_formatparagraph.py
+++ b/Lib/idlelib/idle_test/test_formatparagraph.py
@@ -277,6 +277,9 @@ class FormatEventTest(unittest.TestCase):
@classmethod
def tearDownClass(cls):
cls.root.destroy()
+ del cls.root
+ del cls.text
+ del cls.formatter
def test_short_line(self):
self.text.insert('1.0', "Short line\n")