mirror of
https://github.com/python/cpython.git
synced 2024-12-24 01:05:10 +08:00
7dc9dea778
The new private C function makes no permanent changes to the environment and is #ifdef'd out on non-Windows platforms.
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()
|