diff options
Diffstat (limited to 'Lib/test/test_tcl.py')
| -rw-r--r-- | Lib/test/test_tcl.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Lib/test/test_tcl.py b/Lib/test/test_tcl.py index 26e294c..0b05c54 100644 --- a/Lib/test/test_tcl.py +++ b/Lib/test/test_tcl.py @@ -2,8 +2,11 @@ import unittest import os -import _tkinter from test import test_support + +# Skip this test if the _tkinter module wasn't built. +_tkinter = test_support.import_module('_tkinter') + from Tkinter import Tcl from _tkinter import TclError |
