summaryrefslogtreecommitdiffstats
path: root/tests/frame.test
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2022-10-03 19:22:21 (GMT)
committerfvogel <fvogelnew1@free.fr>2022-10-03 19:22:21 (GMT)
commit64216399f7b8a6bc91856d98c0ffe9a620c2f113 (patch)
tree941287cb9c17595f45784dbaa47beead0ba7f5ee /tests/frame.test
parent0191d3ec9578b2eb8fe9dda810cd3d41be852b12 (diff)
downloadtk-64216399f7b8a6bc91856d98c0ffe9a620c2f113.zip
tk-64216399f7b8a6bc91856d98c0ffe9a620c2f113.tar.gz
tk-64216399f7b8a6bc91856d98c0ffe9a620c2f113.tar.bz2
Remove all 'idletasks' from updates in frame.test. The test should run just fine with a plain 'update'.
Diffstat (limited to 'tests/frame.test')
-rw-r--r--tests/frame.test10
1 files changed, 2 insertions, 8 deletions
diff --git a/tests/frame.test b/tests/frame.test
index 0336c55..c449588 100644
--- a/tests/frame.test
+++ b/tests/frame.test
@@ -658,12 +658,6 @@ test frame-3.9 {TkCreateFrame procedure, -use option} -constraints {
[expr {[winfo rooty .x] - [winfo rooty .t]}] \
[winfo width .t] [winfo height .t]
} -cleanup {
-# This call to update idletasks was added to prevent a crash that was
-# observed on OSX 10.12 (Sierra) only. Any change, such as using the
-# Development version to make debugging symbols available, adding a print
-# statement, or calling update idletasks here, would make the test pass
-# with no segfault.
- update idletasks
deleteWindows
} -result {0 0 140 300}
test frame-3.10 {TkCreateFrame procedure, -use option} -constraints {
@@ -1032,7 +1026,7 @@ test frame-9.1 {MapFrame procedure} -setup {
toplevel .t -width 100 -height 400
wm geometry .t +0+0
set result [winfo ismapped .t]
- update idletasks
+ update
lappend result [winfo ismapped .t]
} -cleanup {
deleteWindows
@@ -1057,7 +1051,7 @@ test frame-9.3 {MapFrame procedure, window deleted while mapping} -setup {
frame .t2.f -width 50 -height 50
bind .t2.f <Configure> {destroy .t}
pack .t2.f -side top
- update idletasks
+ update
winfo exists .t
} -cleanup {
deleteWindows