Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: d200e0c07208df0fec02b25279e4ca1ba3153947 authored by Larry Hastings on 31 May 2015, 00:00:48 UTC
Version bump for Python 3.5.0b2.
Tip revision: d200e0c
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