summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/idle_test/test_autoexpand.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/idlelib/idle_test/test_autoexpand.py')
-rw-r--r--Lib/idlelib/idle_test/test_autoexpand.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/idle_test/test_autoexpand.py b/Lib/idlelib/idle_test/test_autoexpand.py
index 801976a..5d234dd 100644
--- a/Lib/idlelib/idle_test/test_autoexpand.py
+++ b/Lib/idlelib/idle_test/test_autoexpand.py
@@ -25,10 +25,10 @@ class AutoExpandTest(unittest.TestCase):
@classmethod
def tearDownClass(cls):
+ del cls.text, cls.auto_expand
if hasattr(cls, 'tk'):
cls.tk.destroy()
del cls.tk
- del cls.text, cls.auto_expand
def tearDown(self):
self.text.delete('1.0', 'end')