summaryrefslogtreecommitdiffstats
path: root/Lib/tkinter/test/support.py
diff options
context:
space:
mode:
authorGuilherme Polo <ggpolo@gmail.com>2009-02-02 01:02:20 (GMT)
committerGuilherme Polo <ggpolo@gmail.com>2009-02-02 01:02:20 (GMT)
commit8ec58299106e3c2550dfad3acf1e35ae8a590a0d (patch)
tree3144f42d494b95d129dbf325003042243572d229 /Lib/tkinter/test/support.py
parent995d4cdd623d10affca758e182344e1866584370 (diff)
downloadcpython-8ec58299106e3c2550dfad3acf1e35ae8a590a0d.zip
cpython-8ec58299106e3c2550dfad3acf1e35ae8a590a0d.tar.gz
cpython-8ec58299106e3c2550dfad3acf1e35ae8a590a0d.tar.bz2
Recorded merge of revisions 69195 via svnmerge from
svn+ssh://pythondev/python/trunk ........ r69195 | guilherme.polo | 2009-02-01 22:38:54 -0200 (Sun, 01 Feb 2009) | 3 lines Use a single Tcl interpreter through all these tests, this may help some failing buildbots. ........
Diffstat (limited to 'Lib/tkinter/test/support.py')
-rw-r--r--Lib/tkinter/test/support.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/Lib/tkinter/test/support.py b/Lib/tkinter/test/support.py
index 67264df..97212fb 100644
--- a/Lib/tkinter/test/support.py
+++ b/Lib/tkinter/test/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