aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/test_tkinter/support.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_tkinter/support.py')
-rw-r--r--Lib/test/test_tkinter/support.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_tkinter/support.py b/Lib/test/test_tkinter/support.py
index ebb9e00ff91..46b01e6f131 100644
--- a/Lib/test/test_tkinter/support.py
+++ b/Lib/test/test_tkinter/support.py
@@ -58,7 +58,7 @@ class AbstractDefaultRootTest:
destroy_default_root()
tkinter.NoDefaultRoot()
self.assertRaises(RuntimeError, constructor)
- self.assertFalse(hasattr(tkinter, '_default_root'))
+ self.assertNotHasAttr(tkinter, '_default_root')
def destroy_default_root():