• Home
Name Date Size #Lines LOC

..--

READMED04-Jul-2025566 1511

__init__.pyD04-Jul-2025536 2514

__main__.pyD04-Jul-202558 53

support.pyD04-Jul-20254.1 KiB135109

test_colorchooser.pyD04-Jul-20252.2 KiB6951

test_font.pyD04-Jul-20255.8 KiB164139

test_geometry_managers.pyD04-Jul-202540.2 KiB909833

test_images.pyD04-Jul-202527.8 KiB654551

test_loadtk.pyD04-Jul-20251.5 KiB4731

test_messagebox.pyD04-Jul-20251.1 KiB3727

test_misc.pyD04-Jul-202546.4 KiB1,3011,108

test_simpledialog.pyD04-Jul-20251,014 3626

test_text.pyD04-Jul-20254.7 KiB10081

test_variables.pyD04-Jul-202510.7 KiB345275

test_widgets.pyD04-Jul-202559.5 KiB1,5151,261

widget_tests.pyD04-Jul-202522.2 KiB584482

README

1Writing new tests
2=================
3
4Precaution
5----------
6
7    New tests should always use only one Tk window at once, like all the
8    current tests do. This means that you have to destroy the current window
9    before creating another one, and clean up after the test. The motivation
10    behind this is that some tests may depend on having its window focused
11    while it is running to work properly, and it may be hard to force focus
12    on your window across platforms (right now only test_traversal at
13    test_ttk.test_widgets.NotebookTest depends on this).
14
15