diff options
| author | Guilherme Polo <ggpolo@gmail.com> | 2009-02-02 00:38:54 (GMT) |
|---|---|---|
| committer | Guilherme Polo <ggpolo@gmail.com> | 2009-02-02 00:38:54 (GMT) |
| commit | 905c6b7f4845739d317717b053416bb246f10a14 (patch) | |
| tree | 581a5777b9e2c8d8ce5b46dca2c83d21034c1774 /Lib/lib-tk/test/test_ttk/support.py | |
| parent | 3b331dd3ea7492e363ad68cc49c4ee9a09a2ca79 (diff) | |
| download | cpython-905c6b7f4845739d317717b053416bb246f10a14.zip cpython-905c6b7f4845739d317717b053416bb246f10a14.tar.gz cpython-905c6b7f4845739d317717b053416bb246f10a14.tar.bz2 | |
Use a single Tcl interpreter through all these tests, this may help some
failing buildbots.
Diffstat (limited to 'Lib/lib-tk/test/test_ttk/support.py')
| -rw-r--r-- | Lib/lib-tk/test/test_ttk/support.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Lib/lib-tk/test/test_ttk/support.py b/Lib/lib-tk/test/test_ttk/support.py index 6405851..57e7803 100644 --- a/Lib/lib-tk/test/test_ttk/support.py +++ b/Lib/lib-tk/test/test_ttk/support.py @@ -15,6 +15,14 @@ def get_tk_root(): return root +def root_deiconify(): + root = get_tk_root() + root.deiconify() + +def root_withdraw(): + root = get_tk_root() + root.withdraw() + def simulate_mouse_click(widget, x, y): """Generate proper events to click at the x, y position (tries to act |
