cpython/Lib/lib-tk/test
Ned Deily b5213f4def
[2.7] bpo-27313: Avoid test_ttk_guionly ComboboxTest fail with macOS Cocoa Tk (GH-12015)
2019-02-24 03:33:19 -05:00
..
test_tkinter [2.7] bpo-34936: Fix TclError in tkinter.Spinbox.selection_element(). (GH-9760) (GH-9957) (GH-9968) 2018-10-21 10:10:24 +03:00
test_ttk [2.7] bpo-27313: Avoid test_ttk_guionly ComboboxTest fail with macOS Cocoa Tk (GH-12015) 2019-02-24 03:33:19 -05:00
README Added the ttk module. See issue #2983: Ttk support for Tkinter. 2009-01-28 13:09:03 +00:00
runtktests.py Issue #18492: Allow all resources when tests are not run by regrtest.py. 2014-06-02 16:01:16 -05:00
widget_tests.py Issue #26177: Fixed the keys() method for Canvas and Scrollbar widgets. 2016-03-09 10:51:41 +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).