Author terry.reedy
Recipients JayKrish, Todd.Rovito, philwebster, terry.reedy
Date 2013-07-11.22:27:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1373581640.76.0.747602111059.issue18365@psf.upfronthosting.co.za>
In-reply-to
Content
Whoops, I got that partly wrong in that index returns a 'r.c' string after doing what _decode is supposed to do, which is to decode the input according to the current text. The mock index should just return '%s.%s' % _decode(position). There is still the point that index and _decode now give different coordinates for 'end' and that _decode should be tested by testing mock index, which wraps it, against tk index.

Since tk.Text args can be passed by name, the mock methods should use the same parameter names.
History
Date User Action Args
2013-07-11 22:27:20terry.reedysetrecipients: + terry.reedy, Todd.Rovito, JayKrish, philwebster
2013-07-11 22:27:20terry.reedysetmessageid: <1373581640.76.0.747602111059.issue18365@psf.upfronthosting.co.za>
2013-07-11 22:27:20terry.reedylinkissue18365 messages
2013-07-11 22:27:20terry.reedycreate