Commit c208fe67 authored by Ned Deily's avatar Ned Deily

Issue #1730136: Fix backported exception name.

parent 7ed3e297
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment