mirror of
https://github.com/python/cpython.git
synced 2024-12-13 03:45:42 +08:00
1e8ee9b380
Patch by Jon Dufresne.
14 lines
299 B
Python
14 lines
299 B
Python
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()
|