cpython/Lib/tkinter/test
Ned Deily 4143535d86 Issue #8716: Avoid crashes caused by Aqua Tk on OSX when attempting to run
test_tk or test_ttk_guionly under a username that is not currently logged
in to the console windowserver (as may be the case under buildbot or ssh).
2011-07-03 21:56:48 -07:00
..
test_tkinter
test_ttk Issue #10736: Fix test_ttk test_widgets failures with Cocoa Tk 8.5.9 2011-06-27 23:12:20 -07:00
README
__init__.py
runtktests.py
support.py Issue #8716: Avoid crashes caused by Aqua Tk on OSX when attempting to run 2011-07-03 21:56:48 -07:00

README

Writing new tests
=================

Precaution
----------

    New tests should always use only one Tk window at once, like all the
    current tests do. This means that you have to destroy the current window
    before creating another one, and clean up after the test. The motivation
    behind this is that some tests may depend on having its window focused
    while it is running to work properly, and it may be hard to force focus
    on your window across platforms (right now only test_traversal at
    test_ttk.test_widgets.NotebookTest depends on this).