[issue10736] test_ttk_guionly fails on OS X using ActiveState Tcl 8.5.9 (Cocoa)

Ronald Oussoren report at bugs.python.org
Wed Mar 16 00:19:08 CET 2011


Ronald Oussoren <ronaldoussoren at mac.com> added the comment:

The attached patch fixes the test failures with Tk 8.5.9, I haven't tested with other versions or other platforms.

The change to 'test_traversal' should be sane.

The change to 'test_tab_identifiers' is more phishy. I've done two changes there: (1) slightly different index to test for tab 0, as layout on OSX needs more space and (2) the code assumes that tab("idx") won't raise an exception, I've added a TclError catch to ensure that other locations get tested as well.

With these changes the tests pass, but I'd like a review from someone that knows about tkinter and ttk before committing.

----------
Added file: http://bugs.python.org/file21235/issue10736.txt

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10736>
_______________________________________


More information about the Python-bugs-list mailing list