From: Ned Deily Date: Thu, 21 Aug 2014 05:59:21 +0000 (-0700) Subject: Issue #1730136: Fix backported exception name. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c208fe67892e6ed9a55ac56a511a32c04ba8fcf7;p=python Issue #1730136: Fix backported exception name. --- 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)