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()
-
Zachary Ware yazdı
The new private C function makes no permanent changes to the environment and is #ifdef'd out on non-Windows platforms.
7dc9dea7