summaryrefslogtreecommitdiffstats
path: root/tests/event.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-10-10 07:32:47 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-10-10 07:32:47 (GMT)
commitdf640a1dfa81b087de3bc53f2b4c4b2388d3d8da (patch)
tree44ccc27b6ee7aa6b997efba804f5b0a3ad7f838d /tests/event.test
parent52867011954887f3bde7579ee25de18530eaa817 (diff)
downloadtk-df640a1dfa81b087de3bc53f2b4c4b2388d3d8da.zip
tk-df640a1dfa81b087de3bc53f2b4c4b2388d3d8da.tar.gz
tk-df640a1dfa81b087de3bc53f2b4c4b2388d3d8da.tar.bz2
Cherry-pick test-case changes from catalina_more_tests branch. They appear to work fine on other platforms, so they deserve more exposal separate from the Catalina-specific changes.
Diffstat (limited to 'tests/event.test')
-rw-r--r--tests/event.test2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/event.test b/tests/event.test
index 39beab4..a95815e 100644
--- a/tests/event.test
+++ b/tests/event.test
@@ -245,6 +245,8 @@ test event-2.2(keypress) {type into entry widget and then delete some text} -set
set e [entry $t.e]
pack $e
tkwait visibility $e
+ # Avoid a hang when macOS puts the mouse pointer on the green button
+ wm geometry .t +200+100
_keypress_string $e MELLO
_keypress $e BackSpace
_keypress $e BackSpace