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 brett.cannon
Recipients brett.cannon, kushal.das, python-dev, rpetrov
Date 2013-04-28.16:00:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1367164824.95.0.171562399758.issue17358@psf.upfronthosting.co.za>
In-reply-to
Content
I figured out why testing was difficult; the file is only read from if it's necessary. That means if you are trying to load source which has bytecode available which is legitimate it will simply skip over the source and read from the bytecode.

So in the end I just fixed it without a test since it's for a marginal case for a deprecated module. Plus the fix is rather simple and still passed the test suite.
History
Date User Action Args
2013-04-28 16:00:24brett.cannonsetrecipients: + brett.cannon, rpetrov, python-dev, kushal.das
2013-04-28 16:00:24brett.cannonsetmessageid: <1367164824.95.0.171562399758.issue17358@psf.upfronthosting.co.za>
2013-04-28 16:00:24brett.cannonlinkissue17358 messages
2013-04-28 16:00:24brett.cannoncreate