Message192915
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. |
|
Date |
User |
Action |
Args |
2013-07-11 22:27:20 | terry.reedy | set | recipients:
+ terry.reedy, Todd.Rovito, JayKrish, philwebster |
2013-07-11 22:27:20 | terry.reedy | set | messageid: <1373581640.76.0.747602111059.issue18365@psf.upfronthosting.co.za> |
2013-07-11 22:27:20 | terry.reedy | link | issue18365 messages |
2013-07-11 22:27:20 | terry.reedy | create | |
|