summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2015-10-31 20:31:24 (GMT)
committerfvogel <fvogelnew1@free.fr>2015-10-31 20:31:24 (GMT)
commitabbec4b67a98b0511d851db9fdaf10e9806c8fce (patch)
treed1f584856498666e5cc83269448032aa063103b9 /tests
parent138ae7d6b46ed26c1c940a2998ee162832800fa8 (diff)
parent55fc97d827d04fb3bc87f34f5aba3ded5a7471eb (diff)
downloadtk-abbec4b67a98b0511d851db9fdaf10e9806c8fce.zip
tk-abbec4b67a98b0511d851db9fdaf10e9806c8fce.tar.gz
tk-abbec4b67a98b0511d851db9fdaf10e9806c8fce.tar.bz2
Fixed bug [e51941c1b9] - text-9.2.47 fails sometimes
Diffstat (limited to 'tests')
-rw-r--r--tests/text.test4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/text.test b/tests/text.test
index 746e998..7ade29a 100644
--- a/tests/text.test
+++ b/tests/text.test
@@ -2683,6 +2683,10 @@ test text-9.2.47 {TextWidgetCmd procedure, "count" option} -setup {
.t tag configure hidden -elide true
.t tag add hidden 5.7 11.0
update
+ # next line to be fully sure that asynchronous line heights calculation is
+ # up-to-date otherwise this test may fail (depending on the computer
+ # performance), especially when the . toplevel has small height
+ .t count -update -ypixels 1.0 end
set y1 [lindex [.t yview] 1]
.t count -displaylines 5.0 11.0
set y2 [lindex [.t yview] 1]