From c208fe67892e6ed9a55ac56a511a32c04ba8fcf7 Mon Sep 17 00:00:00 2001 From: Ned Deily Date: Wed, 20 Aug 2014 22:59:21 -0700 Subject: [PATCH] Issue #1730136: Fix backported exception name. --- Lib/lib-tk/test/test_tkinter/test_font.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/lib-tk/test/test_tkinter/test_font.py b/Lib/lib-tk/test/test_tkinter/test_font.py index 8e20f4d2ae..246b5cc207 100644 --- a/Lib/lib-tk/test/test_tkinter/test_font.py +++ b/Lib/lib-tk/test/test_tkinter/test_font.py @@ -19,7 +19,7 @@ class FontTest(unittest.TestCase): fontname = "TkDefaultFont" try: f = font.Font(name=fontname, exists=True) - except tkinter._tkinter.TclError: + except Tkinter._tkinter.TclError: f = font.Font(name=fontname, exists=False) font1 = font.nametofont(fontname) font2 = font.nametofont(fontname) -- 2.50.1