diff options
author | Kristján Valur Jónsson <kristjan@ccpgames.com> | 2009-04-01 11:28:47 +0000 |
---|---|---|
committer | Kristján Valur Jónsson <kristjan@ccpgames.com> | 2009-04-01 11:28:47 +0000 |
commit | 42a40c59a0bc94d29e5fd61cada2d8c0763211d6 (patch) | |
tree | 94eee2be7820a758772406882a7393a7e9e7155a /Lib/test/test_tk.py | |
parent | e3944a5e1ecf67aa722fd9ce0c0a4ee72ee5ba2d (diff) | |
download | cpython-git-42a40c59a0bc94d29e5fd61cada2d8c0763211d6.tar.gz |
Allow skipping of regression tests not supported on windows. This reduces noise in the regression test suite for py3k on Windows.
Diffstat (limited to 'Lib/test/test_tk.py')
-rw-r--r-- | Lib/test/test_tk.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Lib/test/test_tk.py b/Lib/test/test_tk.py index 2eca27b2b0..80316b3684 100644 --- a/Lib/test/test_tk.py +++ b/Lib/test/test_tk.py @@ -1,10 +1,11 @@ +from test import support +# Skip test if _tkinter wasn't built. +support.import_module('_tkinter') + import tkinter from tkinter.test import runtktests -from test import support import unittest -# Skip test if _tkinter wasn't built. -support.import_module('_tkinter') import tkinter |