Serhiy Storchaka added the comment: I pushed a patch which fixed Text.debug(). This is not related to this issue.
grid_info() values are depend on Tcl/Tk version. When < 8.6 strings are always returned (except the 'in' key which is special case), when >= 8.6 values can be integers or even tuples. I introduced the AbstractWidgetTest._str() method to convert expected value in widget tests. In these tests you can just write equal(int(egi['row']), 0). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18592> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com