Tk Source Code

View Ticket
Login
Ticket UUID: 3553311
Title: Test spinbox-3.70 fails (core-8-5-branch)
Type: Bug Version: obsolete: 8.5.12
Submitter: fvogel Created on: 2012-08-01 20:53:30
Subsystem: 17. [spinbox] Assigned To: fvogel
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2014-02-19 21:42:32
Resolution: Fixed Closed By: fvogel
    Closed on: 2013-09-23 21:42:53
Description:
In core-8-5-branch, on Windows Vista:

==== spinbox-3.70 SpinboxWidgetCmd procedure, "xview" widget command FAILED
==== Contents of test case:

    .e xview moveto 0.5
    format {%.6f %.6f} {*}[.e xview]

---- Result was:
0.505376 0.720430
---- Result should have been (exact matching):
0.505376 0.72043
==== spinbox-3.70 FAILED


My understanding is that the expected results are wrong, and that the output really should be 
0.505376 0.720430
exactly as it is.

This test passes in core-8-4-branch because there is no format %.6f in this test in that branch.

This test passes in trunk because the expected test result matches the output (i.e. 0.505376 0.720430) that I think is correct.

I will fix the test in core-8-5-branch.
User Comments: fvogelnew1 added on 2012-08-02 14:08:00:

allow_comments - 1

fvogelnew1 added on 2012-08-02 14:07:50:
Fixed in core-8-5-branch by modifying the expected test result.

fvogelnew1 added on 2012-08-02 03:55:40:
I'm just plain wondering how this test could ever pass...?
I must be missing something.