cpython/Lib/tkinter/test
Serhiy Storchaka e3a9adba32
[3.8] bpo-42759: Fix equality comparison of Variable and Font in Tkinter (GH-23968) (GH-24026)
Objects which belong to different Tcl interpreters are now always
different, even if they have the same name.
(cherry picked from commit 1df56bc059)
2021-01-01 19:39:36 +02:00
..
test_tkinter [3.8] bpo-42759: Fix equality comparison of Variable and Font in Tkinter (GH-23968) (GH-24026) 2021-01-01 19:39:36 +02:00
test_ttk [3.8] Rename Tkinter tests for widget options (GH-23944) (GH-23946) 2020-12-26 12:38:13 +02:00
README
__init__.py
runtktests.py
support.py [3.8] bpo-42630: Improve error reporting in Tkinter for absent default root (GH-23781) (GH-23854) 2020-12-19 16:38:37 +02:00
widget_tests.py [3.8] Rename Tkinter tests for widget options (GH-23944) (GH-23946) 2020-12-26 12:38:13 +02: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).