Issue #20567: Delete class attribute gui widgets in idle tests.

Code patch by Serhiy Storchaka
This commit is contained in:
Terry Jan Reedy 2014-02-27 18:47:49 -05:00
parent b807577da2
commit 9db1ab8250
6 changed files with 14 additions and 3 deletions

View file

@ -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")