summaryrefslogtreecommitdiffstats
path: root/Lib/tkinter/test/support.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/tkinter/test/support.py')
-rw-r--r--Lib/tkinter/test/support.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/tkinter/test/support.py b/Lib/tkinter/test/support.py
index 52df104..dd155fa 100644
--- a/Lib/tkinter/test/support.py
+++ b/Lib/tkinter/test/support.py
@@ -23,7 +23,7 @@ class AbstractTkTest:
def tearDownClass(cls):
cls.root.update_idletasks()
cls.root.destroy()
- cls.root = None
+ del cls.root
tkinter._default_root = None
tkinter._support_default_root = cls._old_support_default_root