Staging
v0.8.1
https://github.com/python/cpython
Revision 346f40204b9ba731d736a4fd7b6f77d8aba164fb authored by Larry Hastings on 28 September 2013, 22:43:34 UTC, committed by Larry Hastings on 28 September 2013, 22:43:34 UTC
1 parent b3b0720
Raw File
Tip revision: 346f40204b9ba731d736a4fd7b6f77d8aba164fb authored by Larry Hastings on 28 September 2013, 22:43:34 UTC
Updated pydoc topics.py for 3.4a3 release.
Tip revision: 346f402
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