diff options
Diffstat (limited to 'Lib/test/test_tk.py')
| -rw-r--r-- | Lib/test/test_tk.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_tk.py b/Lib/test/test_tk.py index e1f9c5b..dedda0d 100644 --- a/Lib/test/test_tk.py +++ b/Lib/test/test_tk.py @@ -7,7 +7,7 @@ try: Tkinter.Button() except Tkinter.TclError, msg: # assuming tk is not available - raise test_support.TestSkipped("tk not available: %s" % msg) + raise unittest.SkipTest("tk not available: %s" % msg) this_dir = os.path.dirname(os.path.abspath(__file__)) lib_tk_test = os.path.abspath(os.path.join(this_dir, os.path.pardir, |
