Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 9aa23c5671218dfe62e35945d0ff884f2727d312 authored by Georg Brandl on 06 April 2013, 07:40:02 UTC
Bump to 3.3.1.
Tip revision: 9aa23c5
test_ttk_textonly.py
import os
from test import support

# Skip this test if _tkinter does not exist.
support.import_module('_tkinter')

# Make sure tkinter._fix runs to set up the environment
support.import_fresh_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()
back to top