annotate Lib/lib-tk/test/README @ 54294:dba767bc3155 legacy-trunk

remove mention of old ctypes version
author Benjamin Peterson <benjamin@python.org>
date Sat, 23 May 2009 20:59:09 +0000
parents c101f78aed8b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
51131
c101f78aed8b Added the ttk module. See issue #2983: Ttk support for Tkinter.
Guilherme Polo <ggpolo@gmail.com>
parents:
diff changeset
1 Writing new tests
c101f78aed8b Added the ttk module. See issue #2983: Ttk support for Tkinter.
Guilherme Polo <ggpolo@gmail.com>
parents:
diff changeset
2 =================
c101f78aed8b Added the ttk module. See issue #2983: Ttk support for Tkinter.
Guilherme Polo <ggpolo@gmail.com>
parents:
diff changeset
3
c101f78aed8b Added the ttk module. See issue #2983: Ttk support for Tkinter.
Guilherme Polo <ggpolo@gmail.com>
parents:
diff changeset
4 Precaution
c101f78aed8b Added the ttk module. See issue #2983: Ttk support for Tkinter.
Guilherme Polo <ggpolo@gmail.com>
parents:
diff changeset
5 ----------
c101f78aed8b Added the ttk module. See issue #2983: Ttk support for Tkinter.
Guilherme Polo <ggpolo@gmail.com>
parents:
diff changeset
6
c101f78aed8b Added the ttk module. See issue #2983: Ttk support for Tkinter.
Guilherme Polo <ggpolo@gmail.com>
parents:
diff changeset
7 New tests should always use only one Tk window at once, like all the
c101f78aed8b Added the ttk module. See issue #2983: Ttk support for Tkinter.
Guilherme Polo <ggpolo@gmail.com>
parents:
diff changeset
8 current tests do. This means that you have to destroy the current window
c101f78aed8b Added the ttk module. See issue #2983: Ttk support for Tkinter.
Guilherme Polo <ggpolo@gmail.com>
parents:
diff changeset
9 before creating another one, and clean up after the test. The motivation
c101f78aed8b Added the ttk module. See issue #2983: Ttk support for Tkinter.
Guilherme Polo <ggpolo@gmail.com>
parents:
diff changeset
10 behind this is that some tests may depend on having its window focused
c101f78aed8b Added the ttk module. See issue #2983: Ttk support for Tkinter.
Guilherme Polo <ggpolo@gmail.com>
parents:
diff changeset
11 while it is running to work properly, and it may be hard to force focus
c101f78aed8b Added the ttk module. See issue #2983: Ttk support for Tkinter.
Guilherme Polo <ggpolo@gmail.com>
parents:
diff changeset
12 on your window across platforms (right now only test_traversal at
c101f78aed8b Added the ttk module. See issue #2983: Ttk support for Tkinter.
Guilherme Polo <ggpolo@gmail.com>
parents:
diff changeset
13 test_ttk.test_widgets.NotebookTest depends on this).
c101f78aed8b Added the ttk module. See issue #2983: Ttk support for Tkinter.
Guilherme Polo <ggpolo@gmail.com>
parents:
diff changeset
14