diff options
author | Guilherme Polo <ggpolo@gmail.com> | 2009-01-28 19:28:04 (GMT) |
---|---|---|
committer | Guilherme Polo <ggpolo@gmail.com> | 2009-01-28 19:28:04 (GMT) |
commit | 7a77ee88af00b853aae328dbb3c87d91a1313052 (patch) | |
tree | 2cbd019a4616a86fe398e844cb81e884989249d0 /Lib/test/test_ttk_textonly.py | |
parent | 6785cf0169a1213f15549374361801185de8a8b0 (diff) | |
download | cpython-7a77ee88af00b853aae328dbb3c87d91a1313052.zip cpython-7a77ee88af00b853aae328dbb3c87d91a1313052.tar.gz cpython-7a77ee88af00b853aae328dbb3c87d91a1313052.tar.bz2 |
* Renaming test_tk_* to test_ttk_* since that is what they are testing.
* Added ttk tests to the expected skips mapping just like where test_tcl
was expected to be skipped too.
Diffstat (limited to 'Lib/test/test_ttk_textonly.py')
-rw-r--r-- | Lib/test/test_ttk_textonly.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Lib/test/test_ttk_textonly.py b/Lib/test/test_ttk_textonly.py new file mode 100644 index 0000000..e7d9c00 --- /dev/null +++ b/Lib/test/test_ttk_textonly.py @@ -0,0 +1,17 @@ +import os +import sys +from test import test_support + +this_dir = os.path.dirname(os.path.abspath(__file__)) +lib_tk_test = os.path.abspath(os.path.join(this_dir, '..', 'lib-tk', 'test')) +if lib_tk_test not in sys.path: + sys.path.append(lib_tk_test) + +import runtktests + +def test_main(): + test_support.run_unittest( + *runtktests.get_tests(gui=False, packages=['test_ttk'])) + +if __name__ == '__main__': + test_main() |