cpython/Lib/tkinter/test
Guilherme Polo 2a998fabec Merged revisions 73495 via svnmerge from
svn+ssh://pythondev/python/trunk

........
  r73495 | guilherme.polo | 2009-06-21 14:22:50 -0300 (Sun, 21 Jun 2009) | 4 lines

  Issue #5450: Moved tests involving loading tk from Lib/test/test_tcl to
  Lib/lib-tk/test/test_tkinter/test_loadtk in order to follow the behaviour of
  test_ttkguionly.
........
2009-06-21 17:40:07 +00:00
..
test_tkinter Merged revisions 73495 via svnmerge from 2009-06-21 17:40:07 +00:00
test_ttk Merged revisions 69846 via svnmerge from 2009-02-21 20:59:32 +00:00
README Merged revisions 69050 via svnmerge from 2009-01-28 14:41:10 +00:00
__init__.py Merged revisions 69050 via svnmerge from 2009-01-28 14:41:10 +00:00
runtktests.py Fixing changes from the last merge. 2009-02-06 23:04:44 +00:00
support.py Recorded merge of revisions 69195 via svnmerge from 2009-02-02 01:02:20 +00: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).