cpython/Lib/tkinter/test
Miss Islington (bot) 376218e1c6
bpo-27313: Use non-deprecated methods for tracing (GH-29425) (GH-29451)
(cherry picked from commit cc1cbcbb2d)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2021-11-06 20:23:28 +01:00
..
test_tkinter bpo-45436: Fix tkinter tests with Tcl/Tk 8.6.11+ (GH-29077) (GH-29081) 2021-10-20 15:50:31 +02:00
test_ttk bpo-27313: Use non-deprecated methods for tracing (GH-29425) (GH-29451) 2021-11-06 20:23:28 +01:00
README
__init__.py
support.py [3.9] bpo-42630: Improve error reporting in Tkinter for absent default root (GH-23781) (GH-23853) 2020-12-19 13:08:07 +02:00
widget_tests.py Rename Tkinter tests for widget options (GH-23944) 2020-12-25 14:30:40 -08: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).