summaryrefslogtreecommitdiffstats
path: root/Lib/lib-tk
diff options
context:
space:
mode:
authorNed Deily <nad@acm.org>2014-08-21 05:59:21 (GMT)
committerNed Deily <nad@acm.org>2014-08-21 05:59:21 (GMT)
commitc208fe67892e6ed9a55ac56a511a32c04ba8fcf7 (patch)
treebf851689d9ffb20f61ff2df7122ee9d230798349 /Lib/lib-tk
parent7ed3e29723cad990e41114954692fb50e682ac86 (diff)
downloadcpython-c208fe67892e6ed9a55ac56a511a32c04ba8fcf7.zip
cpython-c208fe67892e6ed9a55ac56a511a32c04ba8fcf7.tar.gz
cpython-c208fe67892e6ed9a55ac56a511a32c04ba8fcf7.tar.bz2
Issue #1730136: Fix backported exception name.
Diffstat (limited to 'Lib/lib-tk')
-rw-r--r--Lib/lib-tk/test/test_tkinter/test_font.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/lib-tk/test/test_tkinter/test_font.py b/Lib/lib-tk/test/test_tkinter/test_font.py
index 8e20f4d..246b5cc 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)