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 vstinner
Recipients brett.cannon, vstinner
Date 2016-01-13.17:29:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1452706193.02.0.458925518144.issue26101@psf.upfronthosting.co.za>
In-reply-to
Content
> A cleaner way to do what you're after is to use test_importlib.util.import_state() where you can pass in an explicit value for sys.path to be temporarily set.

I would prefer to not couple test_importlib and test_compileall to keep tests independent. If you consider that it's worth, import_state() must be moved to test.support.
History
Date User Action Args
2016-01-13 17:29:53vstinnersetrecipients: + vstinner, brett.cannon
2016-01-13 17:29:53vstinnersetmessageid: <1452706193.02.0.458925518144.issue26101@psf.upfronthosting.co.za>
2016-01-13 17:29:53vstinnerlinkissue26101 messages
2016-01-13 17:29:52vstinnercreate