]> granicus.if.org Git - python/commitdiff
Issue #1730136: Fix backported exception name.
authorNed Deily <nad@acm.org>
Thu, 21 Aug 2014 05:59:21 +0000 (22:59 -0700)
committerNed Deily <nad@acm.org>
Thu, 21 Aug 2014 05:59:21 +0000 (22:59 -0700)
Lib/lib-tk/test/test_tkinter/test_font.py

index 8e20f4d2aeaf21ee098d1095ebf9e12a33923d0e..246b5cc207a9bf63cb36d9b7996de55d42c14b2f 100644 (file)
@@ -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)