This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients JayKrish, Saimadhav.Heblikar, Todd.Rovito, ezio.melotti, philwebster, python-dev, serhiy.storchaka, terry.reedy
Date 2014-07-07.20:40:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1404765624.8.0.630669920824.issue18592@psf.upfronthosting.co.za>
In-reply-to
Content
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).
History
Date User Action Args
2014-07-07 20:40:24serhiy.storchakasetrecipients: + serhiy.storchaka, terry.reedy, ezio.melotti, Todd.Rovito, python-dev, JayKrish, philwebster, Saimadhav.Heblikar
2014-07-07 20:40:24serhiy.storchakasetmessageid: <1404765624.8.0.630669920824.issue18592@psf.upfronthosting.co.za>
2014-07-07 20:40:24serhiy.storchakalinkissue18592 messages
2014-07-07 20:40:24serhiy.storchakacreate