diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-03-26 20:48:25 +0000 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-03-26 20:48:25 +0000 |
commit | 888a39b54c4f47ee25d53b157e2c50402627cd0b (patch) | |
tree | 67a48f107d83b8451e338f1ea822f2b4c65f6960 /Lib/test/test_tk.py | |
parent | 21f6aac633a78271e762d6cd4b709e6a91d0c42a (diff) | |
download | cpython-git-888a39b54c4f47ee25d53b157e2c50402627cd0b.tar.gz |
remove test_support.TestSkipped and just use unittest.SkipTest
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 e1f9c5bfe2..dedda0df88 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, |