mirror of
https://github.com/python/cpython.git
synced 2024-12-25 17:53:51 +08:00
1b37e8728c
svn+ssh://pythondev@svn.python.org/python/trunk ........ r78093 | georg.brandl | 2010-02-07 18:03:15 +0100 (So, 07 Feb 2010) | 1 line Remove unused imports in test modules. ........
15 lines
309 B
Python
15 lines
309 B
Python
import os
|
|
from test import support
|
|
|
|
# Skip this test if _tkinter does not exist.
|
|
support.import_module('_tkinter')
|
|
|
|
from tkinter.test import runtktests
|
|
|
|
def test_main():
|
|
support.run_unittest(
|
|
*runtktests.get_tests(gui=False, packages=['test_ttk']))
|
|
|
|
if __name__ == '__main__':
|
|
test_main()
|