diff options
author | Ned Deily <nad@acm.org> | 2014-08-21 05:59:21 (GMT) |
---|---|---|
committer | Ned Deily <nad@acm.org> | 2014-08-21 05:59:21 (GMT) |
commit | c208fe67892e6ed9a55ac56a511a32c04ba8fcf7 (patch) | |
tree | bf851689d9ffb20f61ff2df7122ee9d230798349 /Lib/lib-tk | |
parent | 7ed3e29723cad990e41114954692fb50e682ac86 (diff) | |
download | cpython-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.py | 2 |
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) |