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 ncoghlan
Recipients eric.araujo, jcea, ncoghlan, r.david.murray, skrah, vstinner
Date 2011-05-04.11:09:27
SpamBayes Score 9.665602e-13
Marked as misclassified No
Message-id <1304507369.32.0.110872901941.issue11873@psf.upfronthosting.co.za>
In-reply-to
Content
A quick eyeball of the test doesn't reveal anything obvious:

- if the subprocess is failing, it is doing so in such a way that it is still returning a 0 error code and isn't writing anything to stdout (as those assertions are before the check that the expected compiled file exists)
- the invocation of script_helper looks sensible
- if the directory creation fails, it won't get as far as running the subprocess

To instrument this, I would suggest starting by adding an assertion message on the failing assertion that includes "fn". My guess is that with the random directory name in there, the regex is triggering on the directory name and hence excluding the __init__.py file as well.
History
Date User Action Args
2011-05-04 11:09:29ncoghlansetrecipients: + ncoghlan, jcea, vstinner, eric.araujo, r.david.murray, skrah
2011-05-04 11:09:29ncoghlansetmessageid: <1304507369.32.0.110872901941.issue11873@psf.upfronthosting.co.za>
2011-05-04 11:09:28ncoghlanlinkissue11873 messages
2011-05-04 11:09:27ncoghlancreate