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 terry.reedy
Recipients terry.reedy
Date 2014-02-23.22:07:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1393193226.83.0.860669897793.issue20750@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2014-02-23 22:07:06terry.reedysetrecipients: + terry.reedy
2014-02-23 22:07:06terry.reedysetmessageid: <1393193226.83.0.860669897793.issue20750@psf.upfronthosting.co.za>
2014-02-23 22:07:06terry.reedylinkissue20750 messages
2014-02-23 22:07:06terry.reedycreate