Message212034
Currently, test_tokenize.roundtrip only tests the 2-tuple mode of untokenize. The currently buggy 5-tuple mode needs to be tested also, as far as possible, to reduce the chance of introducing more bugs when fixing current bugs. When this is done, all the constructed tests pass. Good so far.
The doctest normally tests 10 files selected from test/test_*.py and a few tries showed no problem. However, when testing all with -ucpu.
F:\Python\dev> 3\py33\pcbuild\python_d -m test -ucpu test_tokenize
7 failed. So we must remove these from the list of candidates until the failure cause is determined and either fixed or determined not fixable (as with test_3131.py).
As suggested in the revised docstring, finding the failure items for these 7 would be much easier if the file roundtrip test were removed from the doctest and made into a unittest with assertEqual. |
|
Date |
User |
Action |
Args |
2014-02-23 22:07:06 | terry.reedy | set | recipients:
+ terry.reedy |
2014-02-23 22:07:06 | terry.reedy | set | messageid: <1393193226.83.0.860669897793.issue20750@psf.upfronthosting.co.za> |
2014-02-23 22:07:06 | terry.reedy | link | issue20750 messages |
2014-02-23 22:07:06 | terry.reedy | create | |
|