Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: d384df407ebdbb1ab386597658f1ac78e8803afe authored by Ned Deily on 17 June 2020, 10:59:51 UTC
3.6.11rc1
Tip revision: d384df4
test_tk.py
from test import support
# Skip test if _tkinter wasn't built.
support.import_module('_tkinter')

# Skip test if tk cannot be initialized.
support.requires('gui')

from tkinter.test import runtktests

def test_main():
    support.run_unittest(
            *runtktests.get_tests(text=False, packages=['test_tkinter']))

if __name__ == '__main__':
    test_main()
back to top